Thursday, January 13, 2011

Creating a .war (webarchive) file out of .jsp

bash-3.00$ jar cvf test9.war test9.jsp
adding: META-INF/ (in=0) (out=0) (stored 0%)
adding: META-INF/MANIFEST.MF (in=56) (out=56) (stored 0%)
adding: test9.jsp (in=159) (out=131) (deflated 17%)
Total:
------
(in = 203) (out = 501) (deflated -146%)
bash-3.00$

Note: .war files are web archive files which are used to deploy in Web App servers like Weblogic.

No comments:

Post a Comment