jboss下Servlet action is not available
日志文件 INFO [[action]] Servlet action is currently unavailable
前面采取由spring管理action不行 故又试了第3种由struts自己管理
其中action/login.java继承baseaction;baseaction继承Actionsupport
<action-mappings >
<action
input="/login.jsp"
path="/login"
scope="request"
name="LoginForm"
type="action.login"
>
<forward name="student" path="/student/index.jsp" />
<forward name="admin" path="/admin/index.jsp" />
<forward name="company" path="/company/index.jsp" />
</action>
</action-mappings>
<!-- <controller processorClass="org.springframework.web.struts.DelegatingRequestProcessor"/>
--> <message-resources parameter="com.yourcompany.struts.ApplicationResources" />
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="/WEB-INF/applicationContext.xml" />
</plug-in>
日志文件 INFO [[action]] Servlet action is currently unavailable
前面采取由spring管理action不行 故又试了第3种由struts自己管理
其中action/login.java继承baseaction;baseaction继承Actionsupport
<action-mappings >
<action
input="/login.jsp"
path="/login"
scope="request"
name="LoginForm"
type="action.login"
>
<forward name="student" path="/student/index.jsp" />
<forward name="admin" path="/admin/index.jsp" />
<forward name="company" path="/company/index.jsp" />
</action>
</action-mappings>
<!-- <controller processorClass="org.springframework.web.struts.DelegatingRequestProcessor"/>
--> <message-resources parameter="com.yourcompany.struts.ApplicationResources" />
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="/WEB-INF/applicationContext.xml" />
</plug-in>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货