当前位置: 技术问答>java相关
在tomcat中,后缀为war的文件是什么东西,有什么用途?
来源: 互联网 发布时间:2015-04-23
本文导语: 在tomcat中,后缀为war的文件是什么东西,有什么用途? | .war file is a zip file. you can use a tool in j2ee to zip your source code to a zip file,the file is .war,and you can deploy this .war file in...
在tomcat中,后缀为war的文件是什么东西,有什么用途?
|
.war file is a zip file. you can use a tool in j2ee to zip your
source code to a zip file,the file is .war,and you can deploy
this .war file in jrun,so that everyone can visit your application
through ie or netscape.
source code to a zip file,the file is .war,and you can deploy
this .war file in jrun,so that everyone can visit your application
through ie or netscape.
|
跟jar差不多,反正是打包文件。
|
.war是把和WEB有关的程序打抱,(*.jsp, servlet)
.jar是把和app有关的打包(*.java, *.class)
.jar是把和app有关的打包(*.java, *.class)