Opened 16 years ago
Last modified 16 years ago
#1214 closed enhancement
PathInfo support in extension servlets — at Version 2
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | minor | Milestone: | BASE 2.10 |
Component: | web | Version: | |
Keywords: | Cc: |
Description (last modified by )
Extensions that which to use servlets are currently required to follow a limited naming scheme when invoking the servlet from an URL:
http://a.base.server/base2/extensions/jar-name/servlet-name.servlet
It is possible to append a query string, but not PATH-INFO. For techincal reasons the URL must still end with '.servlet', but it should be possible to do something like:
http://a.base.server/base2/extensions/jar-name/servlet-name/path/info.servlet
What is required is basically that we need to change the regexp that parses the URL, and to remap the Request.getServletPath() and Request.getPathInfo() to the proper values. Eq:
servlet-path = /extensions/jar-name/servlet-name path-info = /path/info.servlet
See http://baseplugins.thep.lu.se/ticket/162 (and related mailing list message) for background info.
Change History (2)
comment:1 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 16 years ago
Description: | modified (diff) |
---|