File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Can we define same war with two different context-root? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Can we define same war with two different context-root?" Watch "Can we define same war with two different context-root?" New topic
Author

Can we define same war with two different context-root?

Balaji Ramalingam
Greenhorn

Joined: Nov 08, 2004
Posts: 9
In application.xml, i have the following piece of code. Can we have the same war with two different context-root?


Balaji R<br />SCJP 1.4,SCBCD 1.3, SCEA(In Progress)
Ganesh Gowtham
Ranch Hand

Joined: Mar 30, 2005
Posts: 225

Hi Balaji ,

as far as tomcat is concerned you can do this by writting two context file
in tomcat_dir\conf\catalina\localhost

create two files called app1.xml and app2.xml and place in in tomcat_dir\conf\catalina\localhost folder



Thanks, Ganesh Gowtham
http://ganesh.gowtham.googlepages.com
 
 
subject: Can we define same war with two different context-root?
 
Similar Threads
Multiple war in an ear file
EJB application deployment problem
Problem with contextPath
WAR File Creation in Weblogic 7.0
Changing <context-root>