struts1.2项目中问web.xml里面的这些配置都是干嘛的?
<servlet><servlet-name>action</servlet-name><servlet-class>com.hz.bss.control.common....
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>
com.hz.bss.control.common.BssActionServlet
</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>
/WEB-INF/sys.cfg/struts/login/struts-config-login.xml
</param-value>
</init-param>
<init-param>
<param-name>config/pages</param-name>
<param-value>
/WEB-INF/sys.cfg/struts/login/struts-config-login.xml
</param-value>
</init-param>
<init-param>
<param-name>config/pages/common</param-name>
<param-value>
/WEB-INF/sys.cfg/struts/common/struts-config-common.xml
</param-value>
</init-param> 展开
<servlet-name>action</servlet-name>
<servlet-class>
com.hz.bss.control.common.BssActionServlet
</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>
/WEB-INF/sys.cfg/struts/login/struts-config-login.xml
</param-value>
</init-param>
<init-param>
<param-name>config/pages</param-name>
<param-value>
/WEB-INF/sys.cfg/struts/login/struts-config-login.xml
</param-value>
</init-param>
<init-param>
<param-name>config/pages/common</param-name>
<param-value>
/WEB-INF/sys.cfg/struts/common/struts-config-common.xml
</param-value>
</init-param> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询