struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hill" <andrew.david.h...@gridnode.com>
Subject RE: multiple request / query parameters in struts-config.xml
Date Mon, 16 Jun 2003 03:32:42 GMT
Thats odd.

Im using this technique for multiple parameters in my actionforwards without
any problem.
When you say its null, is that in an actionform in the action you are
forwarding to or for a request.getParameter("id").

If the former, try outputting the result of the latter in your action - and
if that shows the value instaed of null then its most likely an actionform
problem (with one likely culprit being multiple getter/setter for same
property with different signatures).

-----Original Message-----
From: Rob [mailto:bss@insightoutsight.com.au]
Sent: Friday, 13 June 2003 20:36
To: Struts Users Mailing List
Subject: Re: multiple request / query parameters in struts-config.xml


hmm, actually I just looked at my config file and I didn't
forget the ';'.  I only forgot it when posting this question.

Any other suggestions?

Andrew Hill wrote:
> <forward name="foo" path="/do/foo?bar=10&amp;id=10"/>
>
> Note the ';' in the above. (proper xml terminates its entities with ;
while
> html doesnt need it)
>
> -----Original Message-----
> From: Rob [mailto:bss@insightoutsight.com.au]
> Sent: Friday, 13 June 2003 14:23
> To: Struts Users Mailing List
> Subject: multiple request / query parameters in struts-config.xml
>
>
> I have the following arrangement for some of my forwards.
>
> <forward name="foo" path="/do/foo?bar=10"/>
>
> Now it's come time where I want to have more than one
> parameter specified in the struts-config.xml file.
>
> I tried:
>
> <forward name="foo" path="/do/foo?bar=10&ampid=10"/>
>
> However the second parameter ends up being null.
>
> How do you correctly specify more than one parameter?
>
> Thanks
>
>
> ---------------------------------------------------------------------
> 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
>
>



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