aspose file tools
The moose likes Servlets and the fly likes How to run a servlet application in subfolder of main application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "How to run a servlet application in subfolder of main application" Watch "How to run a servlet application in subfolder of main application" New topic
Author

How to run a servlet application in subfolder of main application

Mohit Kumar Tayal
Greenhorn

Joined: Aug 27, 2008
Posts: 29
Hello,

i have two servlet application. one is main application and other is something child application the main application is working properly and child application also when run in seperate but i want to run these two application on one url when they goes live so is it possible to put the child application to put in the subfolder of main application. what is the process to achieve that how it will be possible for server to look at various web.xml files based upon the url.

please help me on this.

Thank You.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56528
    
  14

No. You either need to keep them as separate applications, or merge them into one. There is no concept of nested applications.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to run a servlet application in subfolder of main application
 
Similar Threads
Path problem, seeking advice
JSF Question
Executable jars!
Folder Structure
Need to run one servlet application from subfolder of another servlet application.