Dear all,
What is hidden variable and how to add and send them with request? Why we use them?
Thanks.
What is hidden variable and how to add and send them with request? Why we use them?
Thanks.
Originally posted by William Brogden:
I am guessing that you mean a hidden field in an HTML form.
As far as servlet request objects are concerned, the value in a hidden field is treated just like other form values.
You can write a value into a field when the html page is created or have Javascript put a value there.
Use hidden fields for any text value that you want to have submitted with the request but that you don't want the user to see or modify.
Bill