Sorry for the late response.  I had to work on something else.  I am
still having an issue with this.

I did not change any attributes in my struts-default.xml.  Here is a
part of my struts.xml file:

<struts>
  <package name="default" extends="struts-default">
    <default-interceptor-ref name="paramsPrepareParamsStack"/>
    
    <!-- Menu -->   
    <action name="Menu" class="action.MenuAction" method="list">
      <result name="success">/jsp/include/menu.jsp</result>
      <interceptor-ref name="paramsPrepareParamsStack"/>
    </action>

...

Henry


-----Original Message-----
From: Martin Gainty [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 04, 2007 1:37 PM
To: Struts Users Mailing List
Subject: Re: Action call not calling action method

Henry

difficult to say without seeing the interceptor stack from
struts-default.xml
Please post to group

M--
LA County ..465 square miles of constantly interfacing humanity -
Dragnet
quote from Dan Ackroyd

----- Original Message -----
From: "Henry Park" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Tuesday, December 04, 2007 11:48 AM
Subject: Action call not calling action method


Hello everyone, I am having a really strange issue.  In my application I
have a menu bar and a main content area. The menu bar and main content
area are populated separately using an Ajax call to their respective
action methods. They are automatically called/populated when I log into
my application.  So when I log in, the main content area and menu bar
are successfully displayed.

When I first log into my application, everything gets loaded properly
and the appropriate action methods are called.  However when I try to
call my menu action again, it does not call my action method.  For
example, if my action call looks like this:


getUrl("MenuAction!list.action")


and my Menu Action class looks like this:


public class MenuAction extends ActionSupport implements Preparable {

  public void prepare() throws Exception {
    log.debug("in prepare");
  }

  public String doList() {
    log.debug("doList");
    return SUCCESS;
  }
}


It enters my 'prepare()' method but does not enter my doList() method.
But on the first initial call, it does enter doList().  It seems like I
can only 'get into' the doList() method once. I even entered the action
call manually in my browser address bar but it still only enters my
prepare() method.

Here is the really strange part... on my development machine, everything
works perfectly. All the methods get called successfully.  The above
only happens when I access it from a different computer. Any ideas? I've
been trying to figure this out for days.

---------------------------------------------------------------------
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]


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

Reply via email to