Hello,
For struts2.5 beta version, can someone help what may cause action class
is not called please?
(1) web.xml
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter</filter-class>
<init-param>
<param-name>actionPackages</param-name>
<param-value>project.action</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>AuthenticatedFilter</filter-name>
<url-pattern>/Action/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
<listener>
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<listener>
<listener-class>org.apache.tiles.extras.complete.CompleteAutoloadTilesListener</listener-class>
</listener>
(2) index.jsp
<%
String context_path = request.getContextPath();
response.sendRedirect(context_path +
"/Login/ProcessLoginAction.action");
%>
(3) struts.xml
<struts>
<package name="Login" namespace="/Login" extends="security-fix">
<result-types>
<result-type name="tiles"
class="org.apache.struts2.views.tiles.TilesResult" />
</result-types>
<action name="*ProcessLoginAction" method="{1}"
class="project.action.ProcessLoginAction">
<result name="success" type="tiles">login_main_page</result>
</action>
</package>
</struts>
ProcessLoginAction is not called. Which setups are missing/wrong that
may cause the failure please?
Thanks a lot!
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org