In this section, you will learn about the of Spring form tag library.
In case you want to submit a hidden value, use the HTML input tag with type 'hidden'. The hidden tag of Spring form tag library renders the HTML 'input' tag with type 'hidden'.
You can do it like this :
<form:hidden path="state" />
The above tag renders an HTML 'input' tag with type 'hidden', as shown below :
<input name="state" type="hidden" value="Delhi"/>
Posted on: March 29, 2013 If you enjoyed this post then why not add us on Google+? Add us to your Circles