tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: question about tomcat server
Date Tue, 15 Oct 2002 12:21:45 GMT

You can't just put servlets into the ROOT directory and expect them to work.
You need entries for them in web.xml.  Check the docs, and check the web.xml
for the examples to see how.

John


> -----Original Message-----
> From: Henry Mak [mailto:henrywmak@yahoo.com]
> Sent: Monday, October 14, 2002 5:16 PM
> To: tomcat-user@jakarta.apache.org
> Subject: question about tomcat server
> 
> 
> after i sucessfully install tomcat server. i tried to
> put my own servlets into the WEB-INF/classes under
> root directory. somehow it doesn't work - "HTTP Status
> 404 " error popup. then i try to load the example
> servlets, and all of them have no problem at all.
> 
> finally, i put my own servlets into the examples
> directory, and they are working fine. do u know what
> is the problem why it said "HTTP Status 404 " servlet
> not available when i put them into ROOT directory. i
> tested pure html files are working fine
> 
> __________________________________________________
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.yahoo.com
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:tomcat-user-help@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message