Menu

#1 context-name handling broken

open
nobody
None
5
2005-07-05
2005-07-05
No

The context name right now is '/test/', however it does
not seem to be derived from anything. Additionally, in the
sample web.xml, the TestServlet is mapped
to /test/TestServlet.

How it should be (similar to the java servlet
implementation)
a) the context should be derived from the peacefile
(FooBar.dll -> /FooBar/)
b) the name of the context must not be part of the
servlet mapping in web.xml. All mapping names are
relative to the context.

This allows to rename the context by simply renaming the
peacefile without touching web.xml.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.