struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Jouravlev" <jmi...@gmail.com>
Subject Re: Struts 1.0 redirect problem!
Date Mon, 18 Sep 2006 20:30:52 GMT
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 <swaminator2002@yahoo.com> 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message