struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphaƫl di Cicco <raphael.dici...@atosorigin.com>
Subject Re: forwards with parameters?
Date Thu, 22 Jan 2004 17:18:29 GMT
In my opinion this is a bad way to use forwards. Only the client is supposed
to enter parameters.
You should do request.setAttribute("someparameter",somevalue); in your
Action before forwarding.

----- Original Message ----- 
From: "Derek Faulkner" <dfaulkner@guidewire.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Thursday, January 22, 2004 5:12 PM
Subject: forwards with parameters?


> Hello,
>
> I want to create a forward in my ActionMappings with url parameters like
this:
>
> <forward name="somename" path="SomeAction.do?someparameter=somevalue"/>
>
> This worked with Tomcat 3.3.1, but with Tomcat 4.1 the values in the query
string are not in my SessionRequest parameter table.  Why is this?  What can
I do about it?
>
> Thanks,
> Derek
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message