This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Tomcat and the fly likes Project Directory not browse in my site. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Project Directory not browse in my site." Watch "Project Directory not browse in my site." New topic
Author

Project Directory not browse in my site.

Prakshep Jani
Greenhorn

Joined: Nov 02, 2011
Posts: 2
Hi all,

My application is running well. but issue is that the application directory is not browse in site.

e.g.

http://localhost:8080/app/maps

and i gos the error like this,


The requested resource (/maps/) is not available.

Now i want to create link of that mapsfiles which is arrived from the above url.

what i will do

Thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
How is the "apps" web application defined in the web.xml file residing in the apps/WEB-INF directory?

Bill
Prakshep Jani
Greenhorn

Joined: Nov 02, 2011
Posts: 2
This is the dumy name you can also take my actual project Name "PortalADL"
In Tomcat webapp/ have this and with in that the no of subdirectory like,

webapp/
PoratalADL/
1/
2/
3/
web.xml

So i want to show in browser like this when i hit the URL http://localhost:8080/PortalADL/1
Index of PortalADL/1
Parent Directory
11.pdf
12.pdf
and so on.

so what i will do for doing so.

Thanks.

lokesh pattajoshi
Ranch Hand

Joined: Jul 29, 2009
Posts: 130
hi,

You have placed your web.xml file in wrong directory. It should be under projectHomeDirectory/WEB-INF/web.xml.

Regards,
Lokesh
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Project Directory not browse in my site.