atom feed2 messages in org.apache.tomcat.usersIs Tomcat 3.1 fully compliant with JS...
FromSent OnAttachments
Ben GalbraithAug 23, 2000 3:26 pm 
Craig R. McClanahanAug 23, 2000 4:03 pm 
Subject:Is Tomcat 3.1 fully compliant with JSDK 2.2?
From:Ben Galbraith (be@galbraiths.org)
Date:Aug 23, 2000 3:26:23 pm
List:org.apache.tomcat.users

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