Here's a snippet from my struts.xml

<interceptors>
      <interceptor name="login" class="com.....LoginInterceptor" />

      <interceptor-stack name="defaultLoginStack">
         <interceptor-ref name="login" /> <!-- Our LoginInterceptor -->
         <interceptor-ref name="paramsPrepareParamsStack" />
      </interceptor-stack>
</interceptors>

<!-- Default interceptor stack. -->
<default-interceptor-ref name="defaultLoginStack"/>


<action name="dashboard" class="com......DashboardAction">
     <result>/jsp/dashboard.jsp</result>
</action>

When I access dashboard.action, the execute method is called twice...
The login interceptor checks for logged in session, and if true, calls

Return actionInvocation.invoke();

Does this help any???


-----Original Message-----
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Monday, February 11, 2008 4:26 PM
To: Struts Users Mailing List
Subject: Re: Every action is getting called twice

--- Charbel Abdul-Massih <[EMAIL PROTECTED]> wrote:
> What am I doing wrong?  Every request to an action goes into the actions'
> execute method twice...
>
> I am sure that I am returning SUCCESS from the action, and is mapped to  a
> valid JSP.

You are not providing enough information for anybody to help you.

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to