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:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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


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

Reply via email to