You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vivek Behal <vb...@quark.co.in> on 2004/09/29 11:00:59 UTC

Not able to run .html and servlet in Tomcat 5

Hi,
   I downloaded tomcat 5. I added a .html file to the webapps/Root folder
but as i try to access it, gives me error with status 404. i.e the tomcat is
not able to locate the file.
   Could you tell me what should i do to make it work. I deployed a  .class
file in webapps/Root/WEb-INF/classes folder which was actually a servlet
file . Tomcat is not able to access that also.
 So every tiems it gives me page not found error when i try to access it.
Could you suggets me some way....
 
Regards,
Vivek Behal.
 
 

Re: Not able to run .html and servlet in Tomcat 5

Posted by Ben Souther <bs...@fwdco.com>.
Tomcat 5.0 or tomcat 5.5?
If you're just starting out, go with a stable version (5.0.28).

This tutorial should get you started:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html

A static HTML page should show just fine.
What is the name of the page?
What are you typing in your browser's address window?
Remember, the address (after the domain) is case sensitive.






On Wed, 2004-09-29 at 05:00, Vivek Behal wrote:
> Hi,
>    I downloaded tomcat 5. I added a .html file to the webapps/Root folder
> but as i try to access it, gives me error with status 404. i.e the tomcat is
> not able to locate the file.
>    Could you tell me what should i do to make it work. I deployed a  .class
> file in webapps/Root/WEb-INF/classes folder which was actually a servlet
> file . Tomcat is not able to access that also.
>  So every tiems it gives me page not found error when i try to access it.
> Could you suggets me some way....
>  
> Regards,
> Vivek Behal.
>  
> 


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