Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

War file placment

Status
Not open for further replies.

johno77

Technical User
Nov 1, 2003
40
0
0
GB
Hello

I have created a webapp which i have created under the context root c:\jspapp - i am using tomcat 4.17. I want to deploy this to other machines under the same structure namely c:\jspapp. Can i create a war file with the entire directory structure underneath jspapp and transfer it to another machine placing it in the directory c:\jspapp?

thanks
 
Go to the root of your webapp, (ie C:\jspapp) and type "jar -cvf myapp.war *"

Then dump this war file in TOMCAT_HOME/webapps on other machines (or your machine) ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top