我的WEB Application是这样设置的
<Application Deployed="true" Name="MyApp"
Path="/bea/user_projects/mydomain" TwoPhase="true">
<WebAppComponent Name="MyApp" Targets="myserver" URI="MyApp"/>
</Application>
web.xml是
<?xml version="1.0" ?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<listener>
<listener-class>MyBean.SessionListener</listener-class>
</listener>
<session-config>
<session-timeout>1</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>楼上的,我不知道你想具体了解点什么,能告诉我嘛?
<Application Deployed="true" Name="MyApp"
Path="/bea/user_projects/mydomain" TwoPhase="true">
<WebAppComponent Name="MyApp" Targets="myserver" URI="MyApp"/>
</Application>
web.xml是
<?xml version="1.0" ?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<listener>
<listener-class>MyBean.SessionListener</listener-class>
</listener>
<session-config>
<session-timeout>1</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>楼上的,我不知道你想具体了解点什么,能告诉我嘛?
解决方案 »
- 求Java多数据库连接的传统方法
- 卓越
- 【提问兼送分】javabean的自动赋值
- 想把网站改版,不知道用php和JSP哪个好点
- client.ServiceFactoryImpl not found麻烦高手们了!
- 请教一个js方面的问题
- 招聘,招聘,急,急,急
- response.sendRedirect("index.jsp") 和 <jsp:forward page="index.jsp"/>的区别?
- tomcat4.0+jsp,从oracle数据库读出来的中文全变成了"?",怎么办?
- 图片按钮传action的问题
- 括弧是不是应该先转换成别的符号呢?
- 请问哪里有tomcat 4.18下载,请多给我几个地址,我怕有许多是连不上的,分可以再给
Path="/bea/user_projects/mydomain" TwoPhase="true">
<WebAppComponent Name="MyApp" Targets="myserver" URI="MyApp"/>
</Application>
中的Path="/bea/user_projects/mydomain设置为你页面的地址!