Laurie:

Be careful about mixing query parameters and POST parameters.
I have had instances where the browsers do not give you the
query parameters that you specify on the action of the form.

It is safest to put all parameters in the form via hidden tags.

        Neil


--
Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com

> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
> Sent: Wednesday, August 03, 2005 2:15 PM
> To: user@struts.apache.org
> Subject: Re: how can I add request parameters to url ?
> 
> 
> Michael Jouravlev wrote:
> > On 8/3/05, EROL TEZCAN <[EMAIL PROTECTED]> wrote:
> >>This is good for <html:link> tag. But I want to add request 
> parameters such as <html:form 
> action="myAction.do?param1=value1&param2=value2&.......">
> > 
> > If you submit the form using POST, then no, you cannot. In POST
> > request parameters are sent in a separate section, each parameter is
> > separated with newline.
> 
> There's nothing I'm aware of that says you can't combine 
> query parameters 
> and POST parameters. I've certainly done this successfully in 
> the past.
> 
> L.
> -- 
> Laurie, Open Source advocate, Java geek and novice blogger:
> http://www.holoweb.net/laurie
> 
> 
> ---------------------------------------------------------------------
> 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