■■JB的web项目生成war包,如何操作,请指教■■

yyhyan 2003-10-21 09:15:42
■JB的web项目生成war包,如何操作,请指教■■
...全文
37 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
blue999star 2003-10-21
  • 打赏
  • 举报
回复
JB 会自动生成web应用的war 的,默认放在你的应用目录下,你找找。 如果你想手动去生成,楼上的说的很明白了。
killerdanny 2003-10-21
  • 打赏
  • 举报
回复
你直接放到TOMCAT的webapps目录下即可,TOMCAT会帮你解压的!

比如:你的WAR是a.war

你访问http:\\127.0.0.1:8080\a\index.jsp
希偌 2003-10-21
  • 打赏
  • 举报
回复
Creating a WAR file is simple. For example, to create a WAR file for the helloapp
web application, follow these steps:
1 From the DOS prompt (or from the $ prompt), go to the webapps\helloapp directory
(c:\jakarta-tomcat4.0.1\webapps\helloapp).
2 Jar the helloapp directory by using the jar utility:
c:\jakarta-tomcat4.0.1\webapps\helloapp>jar –cvf helloapp.war *
This will create a helloapp.war file in the c:\jakarta-tomcat4.0.1\webapps
directory.

81,091

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧