File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
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: 61180
    
  66

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to run a servlet application in subfolder of main application