I do not understand what you had changed: You had listed a "success" mapping
which uses the path "/GroupRulesManager/Global/returnToPrev.do" which
matches your page error.  You also listed a "back" mapping which goes to
"GroupRulesManager/returnToPrev.do".  Both of them perform redirects.  So
have you fixed the "success" path to fit and actual path?

If you strongly believe this is not the case then you should post the
relevant form, action mappings, forwards, AND whatever place you are
performing your redirect in which could be your Action's return statement or
a logic:redirect in your JSP.  From the little you've given, it suggests a
"success" forward is being returned but that path, as you stated, includes
"/Global" in the path which invalidates that path.  Reposting the segments
with a current error might clarify the issue.

Regards,
David

-----Original Message-----
From: Swaminathan Subramanian [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 19, 2006 10:55 AM
To: Struts Users Mailing List
Subject: Re: Struts 1.0 redirect problem!


That's the whole point. I do not understand why it is
looking for this mapping when it has been set to be
GroupRulesManager/returnToPrev. By the way, I tried
changing the mapping to Global/returnToPrev and still
got the same error.
Using Firefox, I get redirected to google's search
page after making the above change.
Thanks,
Swami

--- Michael Jouravlev <[EMAIL PROTECTED]> wrote:

> Do you see the action with path
> "/GroupRulesManager/Global/returnToPrev"? Me
> neither. I see one with
> the path "/GroupRulesManager/returnToPrev" instead.
>
> I have no idea why it worked before.
>
> On 9/18/06, Swaminathan Subramanian
> <[EMAIL PROTECTED]> wrote:
> > Hello!
> > I am working on upgrading a Struts application
> > (running on Linux with Resin 2.1) to use Resin
> 3.0.
> > One of the modules simulates a wizard in which
> there
> > is an index.jsp, then a data entry jsp and then on
> > confirmation, the user gets redirected to the
> > index.jsp. This was working with Resin 2.1.2. Now,
> > after upgrading to Resin 3.0, the redirect is
> taking
> > me to a blank page. I am reporting this here
> because I
> > noticed the following in the server log -
> > [13:49:01.568]action: Processing a GET for
> > /GroupRulesManager/Global/returnToPrev
> > [13:49:01.569]action:  No mapping available for
> path
> > /GroupRulesManager/Global/returnToPrev
> > [13:49:01.570][16] HTTP/1.1 400 Invalid path
> > /GroupRulesManager/Global/returnToPrev was
> requested.
> >
> > The action mapping is defined in the struts-config
> > file as follows
> > <action
> > path="/GroupRulesManager/returnToPrev"
> > parameter="GRReturnToURL"
> >
>
type="com.teralogix.abfclientaccess.web.grouprules.HomeAction"
> > name="GroupRulesHomeForm"
> > validate="false"
> > scope="session">
> > <forward name="failure"
> > path="/GroupRulesManager/Global/index.jsp"/>
> > </action>
> >
> > Here's the action mapping for the wizard
> >
> > <action
> > path="/GroupRulesManager/modifyProcess"
> > parameter="GRModifyProcess"
> >
> >
>
type="com.teralogix.abfclientaccess.web.grouprules.HomeAction"
> > name="GroupRulesHomeForm"
> > validate="false"
> >
> > input="/GroupRulesManager/Global/index.jsp"
> > scope="session">
> > <forward name="failure"
> > path="/GroupRulesManager/Global/index.jsp"/>
> > <forward name="back"
> > path="/GroupRulesManager/returnToPrev.do"
> > redirect="true"/>
> > <forward name="success"
> > path="/GroupRulesManager/Global/returnToPrev.do"
> > redirect="true"/>
> > </action>
> >
> > I am not sure why it would work with a previous
> > version of Resin and not with the upgraded
> version.
> > Thanks in advance!
> > swami


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

Reply via email to