You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by mojoRising <jp...@averoinc.com> on 2008/03/21 17:53:47 UTC

Execute method is not called

I apologize for the vague nature of this question. To clarify, I have a login
page that works for the input method, but will not call the execute method.
I have logging comments that show that when I call the action for my form,
the prepare method fires, then the validate method completes(without
errors), and then it just stops...it never calls the execute method. Any
idea what could cause that? 

My form tag:
<s:form  validate="true" cssClass="goLoginTable" action="login_execute"
method="post" namespace="/pages" theme="goForm" >

My struts.xml file:

<package name="pages" namespace="/pages" extends="AveroSecure">	
        <action name="login_*" method="{1}" class="pages.Login">		
				  <interceptor-ref name="paramsPrepareParamsStack"/>		 
				  <result name="execute">/WEB-INF/pages/login.jsp</result>
				  <result name="input">/WEB-INF/pages/login.jsp</result>
				  <result name="error">/WEB-INF/pages/login.jsp</result>									  
				  <result name="success" type="redirect-action">
					  terms_input	
					   /userMgmt
					  true
					  true
					  login
				  </result>
				
        </action>
				
        <action name="*" class="pages.Support">
            <result>/WEB-INF/pages/{1}.jsp</result>
        </action>
        
        <action name="logout" class="pages.Logout">
            <result>/WEB-INF/pages/logout.jsp</result>
        </action>        
    </package>




mojoRising wrote:
> 
> I have moved all JSP's under WEB-INF directory (e.g.
> /WEB-INF/pages/login.jsp), and this solution seems to work perfectly on my
> local environment with exploded directory structure. However, Struts seems
> to not be working at all when we package and deploy an ear file (before I
> moved the jsp's it had been working with ear deployment)...I am still
> troubleshooting, but any ideas what could be the issue here?
> 
> Thanks
> 
> John
> 

-- 
View this message in context: http://www.nabble.com/authentication-question-tp16006710p16202155.html
Sent from the Struts - User mailing list archive at Nabble.com.


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