Perhaps you could clarify a few things for us.

1) Struts is pre-1.0, so I assume you don't mean you're using Struts 3.2.
:-) Which version of Struts are you really using?

2) Which servlet/JSP container are you using? I would guess you're using
Tomcat, and that's where the "3.2" comes from. You should be using at least
3.2.1 for Struts to be happy. Expect problems with earlier versions.

3) The code in your message has this line:

    findForward("refresh");

where I would expect to see this instead:

    return mapping.findForward("refresh");

Is this in fact what you are doing, or are you really using the code you
posted?

--
Martin Cooper


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 18, 2001 10:33 AM
Subject: Serious Page Timeout Problem with findForward() method / Need HELP!


>
> Is there a known bug with Struts 3.2?  Is there a known fix for this
> problem?  HELP!
>
> I am having a major problem in my application using Struts 3.2.
>
> The problem occurs intermittantly when calling a findForward() from my
> Action class.
>
> About every 5th time I call the Action which calls the Form to initialize
> the variables, then returns (findForwards) to my JSP to display the
current
> values from the DB, it stalls and doesn't come back.
>
> ie.
>
> myAction.do?action=load
>
> in myAction.java:
>
> if paramAction.equals("load")  {
>     myForm.initialize();        // this calls the method in myForm that
> makes the call to the DB and gets
> // the current values
>     findForward("refresh");  // this returns to the JSP
> }
>
> *****STALL OCCURS HERE*******(intermitt. goes out to lunch and doesn't
come
> back)
>
> myPage.jsp                  // display the current values retrieved from
the
> DB
>
>
>
>
>
>


Reply via email to