aspose file tools*
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 Spring in Action this week in the Spring 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: 12803
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Project Directory not browse in my site.