Dear all members

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.

:confused:


My directory structure is like


Tomcat-5.5/webapps/ROOT/WEB-INF

Tomcat-5.5/webapps/ROOT/extra/css

Tomcat-5.5/webapps/ROOT/extra/images

Tomcat-5.5/webapps/ROOT/extra/js



My all JSP and html pages are inside ROOT directory

My css, images, js are inside extra/css, extra/images and extra/js directory
resp.


my web.xml file is inside WEB-INF directory.


Actually  extra  is a one of the directory where I put my all files which I
am using in JSP and html pages.

e.g.



Also here I try both href="/extra/css/style.css" and
href="extra/css/style.css"


And about other jsp pages like mytestpage.jsp, which I put inside ROOT
directory directly. 

-- 
View this message in context: 
http://old.nabble.com/tomcat-shows-404-error-for-existing-pages-tp31367435p31367435.html
Sent from the Tomcat - User mailing list archive at Nabble.com.

Reply via email to