Re: [equinox-dev] Re: How can I register a servlet to receive andhandle the path like /*?

2009-12-08 Thread fox
Hi Gunnar: Thanks for your help, but then I found another problem: if I want the servlet to handle the request with the path /scap/*,I try to modify the alias to /xcap/, it throws java.lang.IllegalArgumentException: Invalid alias '/xcap/' ,how should I resolve this problem? Thanks so many.

Re: [equinox-dev] Re: How can I register a servlet to receive andhandle the path like /*?

2009-12-08 Thread Simon Kaegi
You should just use /scap see http://www.osgi.org/javadoc/r4v42/org/osgi/service/http/HttpService.html#registerServlet (java.lang.String, javax.servlet.Servlet, java.util.Dictionary, org.osgi.service.http.HttpContext) HTH -Simon | | From: | |