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.
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: |
|