我问了好久到现在也没碰到能解决这个问题的。作者: we2002 时间: 2003-08-12 12:06 标题: 谁会用jboss???(问题已解决!!!) Deploying a war to context '/'
Deploying a webapp called foo.war will result in it being deployed at context /foo. To
deploy it instead to the root context, choose one of the following mechanisms:
0.The standard J2EE way: wrap your .war in an .ear and in the .ear's METAINF/
application.xml you can specify the required context.
1.The proprietary JBoss extension: put a jboss-web.xml into your .war's WEB-INF
directory and specify the context root in that.
2.Tomcat style: call the file ROOT.war and deploy it.作者: jimmeyzhao 时间: 2003-08-12 19:37 标题: 谁会用jboss???(问题已解决!!!) 楼上正解。
jboss-3.2.1_tomcat-4.1.24 已经把tomcat集成了,打成ear然后设置application.xml比较容易一些。作者: we2002 时间: 2003-08-14 14:52 标题: 谁会用jboss???(问题已解决!!!) 问题终于解决了,用的是上面文档的方法1.
在WEB-INF目录下建立jboss-web.xml
其中加入
<jboss-web>;
<context-root>;/</context-root>;
</jboss-web>;作者: we2002 时间: 2003-08-14 14:55 标题: 谁会用jboss???(问题已解决!!!) 而且找到一篇jboss很好的文档JBoss.3.0QuickStart.pdf
值得推荐!!