You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by K Br <ko...@ny.com> on 2002/02/27 05:19:23 UTC
Simple web.xml causes URL not to work
I am using Tomcat 4.0.2 standalone on Win2k Prof.
I have just a JSP file in my context
in webapps\Book\MySend.jsp
Without any web.xml, the URL
http://localhost/Book/MySend.jsp
yields the page correctly.
But when I insert a web.xml under
webapps\Book\WEB-INF with the following content,
Tomcat cannot find the same URL (http://localhost/Book/MySend.jsp).
<web-app>
<context-param>
<param-name>hostname
</param-name>
<param-value>felicity
</param-value>
</context-param>
</web-app>
I have gone thru 2.3 servlet spec and the
web.xml as shown above seems legal. what
am I doing wrong.
/K. Brian
Los Angeles
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>