Hey ,i registered a servlet as follows:
@SlingServlet(resourceTypes = {"sakai/news"},selectors =
{ "fun" },methods = { "GET","POST","DELETE","PUT" },generateComponent
= true, generateService = true)
and in the sling console i found the information as follow:
352=[org.sakaiproject.nakamura.sample.LiteNewestNewsServlet]
BundleSample (121)
State=active
DefaultState=enabled
Activation=delayed
ServiceType=service
Services=javax.servlet.Servlet
Reference=newsService, Satisfied
Service Name: org.sakaiproject.nakamura.sample.api.NewsService
Multiple: single
Optional: mandatory
Policy: static
Bound Service: ID 514
( org.sakaiproject.nakamura.sample.NewsServiceImpl)
Properties=
component.id=352
component.name=org.sakaiproject.nakamura.sample.LiteNewestNewsServlet
service.pid=org.sakaiproject.nakamura.sample.LiteNewestNewsServlet
sling.servlet.methods=[GET, POST, DELETE, PUT]
sling.servlet.resourceTypes=sakai/news
sling.servlet.selectors=fun
but the GET "/sakai/news.fun.html" was not handled by the servlet.
how can i access the servlet i registered?
thanks
--
View this message in context:
http://apache-sling.73963.n3.nabble.com/servlet-registered-by-selectors-and-extensions-tp2892506p2892506.html
Sent from the Sling - Users mailing list archive at Nabble.com.