• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to change the location of WEB-INF in an application

 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have seen that when we make a general application then it will simply create in :

<Server-Root>/webapps/<Project-Name>/WEB-INF
<Server-Root>/webapps/<Project-Name>/META-INF

But i want to make an application in which i want to make the structure like as follows:

<Server-Root>/webapps/<Project-Name>/abc/>WEB-INF
<Server-Root>/webapps/<Project-Name>/abc/META-INF

Means that i dont want to make an application directly,i like to create project , then a folder in that and then everything in that , like above we can see that in "/abc".

Please tell me that in which file should i make changes to achieve this, please tell me the procedure to do that.

Thanks
Regards
Gaurav
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I understand what you want, that is not possible. Read the official Servlet API - downloadable here.
The location of WEB-INF within a web application is fixed in stone (or maybe epoxy.)
Bill
 
reply
    Bookmark Topic Watch Topic
  • New Topic