Greetings.
I've deployed a web application in %TOMCAT_HOME%\webapps\augatservlet, and
in webapps\augatservlet\WEB-INF\web.xml, I have the following entry (among
others):
<servlet-mapping>
<servlet-name>
AuServlet
</servlet-name>
<url-pattern>
*.jweb
</url-pattern>
</servlet-mapping>
According to Chapter 10 of the JSDK 2.2 spec, an extension mapping should
override any other mapping and route the request ending in the extension to
the appropriate servlet. Yet, the following URL doesn't work:
http://localhost:8080/MyPage.jweb
What am I missing?
If I add the automatic context generated by Tomcat, it does work:
http://localhost:8080/augatservlet/MyPage.jweb
Am I missing something? This behavior seems to contradict the examples in
10.2.2.
Also, the same chapter from the JSDK spec also says that by creating a
mapping that conatins only "/", that mapping becomes the default mapping for
the servlet container. Yet this does not appear to function in Tomcat.
Should it? Am I doing something wrong?
Thanks,
Ben