aspose file tools*
The moose likes Tomcat and the fly likes How to change the location of WEB-INF in an application 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 "How to change the location of WEB-INF in an application" Watch "How to change the location of WEB-INF in an application" New topic
Author

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

Gaurav Chhabras
Ranch Hand

Joined: Sep 21, 2005
Posts: 126
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

Joined: Mar 22, 2000
Posts: 12803
    
    5
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to change the location of WEB-INF in an application