Share on Google+Share on Google+

The hidden tag

Advertisement
In this section, you will learn about the of Spring form tag library.

The hidden tag

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"/>

Advertisements

Posted on: March 29, 2013 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Discuss: The hidden tag  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0