This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JSP and the fly likes Not able to view the folder contents Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Not able to view the folder contents" Watch "Not able to view the folder contents" New topic
Author

Not able to view the folder contents

shekar march chandra
Greenhorn

Joined: Jul 07, 2005
Posts: 25
Hi ppl,

Good Afternoon.

I am using tomcat.I created a folder by name test in webapps and all the relevant folders in that application(test)folder. i.e web-inf, classes, lib, web.xml(blank)etc.

i have kept classes ,lib and web.xml in web-inf.

Now, when i say http://localhost:8080/test it is saying test not found.

could anybody tell whatz the problem.

Thanks,
chandra
Kalyana Sundaram
Ranch Hand

Joined: Mar 18, 2005
Posts: 94
1) First & foremost, just verify whether this problem repeats when you restart the TOMCAT
2) if the problem persists verify your web.xml

You must have your welcome-files defined in the web.xml. If thats not defined atleast you must be able to see the directory listing.


Only those who will risk going too far can possibly find out how far one can go !!!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61103
    
  66

web-inf != WEB-INF


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Not able to view the folder contents