Difficult to say what the problem is but it sounds like something in your web.xml
file. I recommend replying with your web.xml contents in your message.
>>> chris brown <[EMAIL PROTECTED]> 04/23/01 09:12AM >>>
I'm trying to create my own web.xml file for use in Tomcat. I've read the
doc, but I need help to understand what's going on exactly...
I created a new document folder, and added the context mapping in
server.xml. I put a simple HTML file and a simple JSP file in the folder,
and started up Tomcat. The JSP compiled fine, and both it and the HTML file
displayed as intended in the navigator.
I then copied the standard web.xml file from tomcat/conf into my new
folder... but after restarting Tomcat, I got "HTTP 404 Not Found" errors for
the JSP only (although the JSP *does* appear in the directory listing). If
I rename "web.xml" as "_web.xml" (and restart Tomcat), no more problem (but
obviously, I can no longer configure the web app!), or if I comment out all
the default servlet mappings, it runs fine too.
What is the problem? As I say, I'm using nothing but copies of the standard
files, and none of the possible causes of an HTTP 404 error given in
Tomcat's documentation correspond to my case. Incidentally, I'm using
Tomcat 3.1 on top of JDK1.3 on Windows NT4.
Thanks in advance,
Chris Brown
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets