i have centOS on my VPS and i upload myproject.war file to the tomcat application server (/webapp folder). how can i extract the .war file with linux command prompt? i'm using puTTy.
I actually think the `jar` command is better as it is designed to do just that.
extraneon
2010-09-30 18:29:00
@extraneon added more info
org.life.java
2010-09-30 18:32:48
A:
A war file is just a zip file with a specific directory structure. So you can use unzip or the jar tool for unzipping.
But you probably don't want to do that. If you add the war file into the webapps directory of Tomcat the Tomcat will take care of extracting/installing the war file.
Kdeveloper
2010-09-30 18:52:13