Win a copy of Programmers Guide to Apache Thrift this week in the Open Source forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Project Directory not browse in my site.  RSS feed

 
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
 
Author and all-around good cowpoke
Posts: 13078
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.

 
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
 
Would you turn that thing down? I'm controlling a mind here! Look ... look at the tiny ad ...
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!