Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Gaurav Chhabras
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • 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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic