struts2.5:

(2) index.jsp
 <%
      String context_path     = request.getContextPath();
response.sendRedirect(context_path + "/Login/ProcessLoginAction.action");
%>


(3) struts.xml

<action name="*ProcessLoginAction" method="{1}" class="project.action.ProcessLoginAction">
         <result name="success" type="tiles">login_main_page</result>
      </action>
If written executeProcessLoginAction.action in jsp, the action class will be called.

But wouldn't jsp automatically runs "/Login/executeProcessLoginAction.action".

How to call execute() method as default if no method name specified?


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to