Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Project Directory not browse in my site.

 
Prakshep Jani
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is the "apps" web application defined in the web.xml file residing in the apps/WEB-INF directory?

Bill
 
Prakshep Jani
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

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

Regards,
Lokesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic