Short answer: Use method="post" in your <form>
Long answer: Any variable you define (hidden or not) will get passed to the server when you submit a form. GET will pass variables in a query string (all variables), and POST will pass them through the HTTP header. Whether to use GET or POST depends on your application. Generally, use GET if your page is stateless, and POST if your page contains state or is part of a stateful process.
[EMAIL PROTECTED] wrote on 05/04/2004 11:09:53 AM:
> Hi,
> I have got a display tag table in HTML form. The HTML form also
> contains the hidden variable to identify the one out of different
> buttons pressed in the form. Once some value is set to to a
> particular hidden variable and the form is submitted, the hidden
> variable gets appended to querystring and then same value of that
> hidden variable is always sent even when I click on the different
> page of the display tag table. And this is because the hidden
> variable gets appended to the querystring.
>
> Does anyone know to disable appending these hidden variables to the
> querystring?
>
> thanks,
> Kamalakar
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs
- Re: [displaytag-user] Hidden variables getting append... Nils_Kilden-Pedersen
- Re: [displaytag-user] Hidden variables getting a... Kamalakar Desai

