Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes 404 error, On existing directory. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "404 error, On existing directory." Watch "404 error, On existing directory." New topic
Author

404 error, On existing directory.

Tristan Van Poucke
Ranch Hand

Joined: Jun 30, 2008
Posts: 47
I'm getting a 404 error when I want to see my "Resources" directory.
I am 100% sure this directory exists because, the website is showing images wich are in this directory. Is there anythink that has to be done for me to be able to browse the directories in a browser?
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

You need to change:


to:


in TOMCAT_HOME/conf/web.xml


Regards, Rene Larsen
Dropbox Invite
Tristan Van Poucke
Ranch Hand

Joined: Jun 30, 2008
Posts: 47
Works like a charm,
thank you for the help.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: 404 error, On existing directory.
 
Similar Threads
Good JUnit Tutorial?
How do i correct this error
difficulty in first jsp programm
Shift and Logical operators
Url to app server