Currently I have purchase one domain name and virtual dedicated server(Linux - Red hat fedora). I am using java and tomcat 5.5 on that server.
The problem I am facing is tomcat shows 404 error (description: The requested resource (/mytestpage.jsp) is not available.).
Is there any settings I require to view css and all jsp and html pages, Because when I installed tomcat it shows prper installetion and display tomcat default page properly.
Yes Exactly happend same.
Even though for any jsp or html file other than index/default.jsp/html inside my ROOT directory, is showing error 404.
There are 2 reasons why I don't like to put webapps under ROOT.
1. There can be only 1 root webapp per host, and Tomcat is designed to contain multiple webapps. And my servers generally do so.
2. Tomcat is already shipped with its own root app. It does take a little bit of tweaking to replace it with another app.
Some people, when well-known sources tell them that fire will burn them, don't put their hands in the fire.
Some people, being skeptical, will put their hands in the fire, get burned, and learn not to put their hands in the fire.
And some people, believing that they know better than well-known sources, will claim it's a lie, put their hands in the fire, and continue to scream it's a lie even as their hands burn down to charred stumps.
It is highly unlikely that this is a memory problem, but if it is, then you should at the least see some error messages in the log files. You should the log files regardless - there may be other problems.
It is also highly unlikely that Tomcat needs to be upgraded to a newer version (as was suggested earlier in this thread); Tomcat 5.5 works fine.
Hey, I'm supposed to be the guide! Wait up! No fair! You have the tiny ad!
SKIP - a book about connecting industrious people with elderly land owners