tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "K Br" <k...@ny.com>
Subject Simple web.xml causes URL not to work
Date Wed, 27 Feb 2002 04:19:23 GMT
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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message