File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSP
Bookmark "Not able to view the folder contents" Watch "Not able to view the folder contents" New topic

Not able to view the folder contents

shekar march chandra

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.

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

Joined: Jan 10, 2002
Posts: 63852

web-inf != WEB-INF

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Not able to view the folder contents
It's not a secret anymore!