In this section, you will learn about the textarea tag of Spring form tag library.
A text area can hold an unlimited number of characters. The <textarea> tag defines a multi-line text input control.
The textarea tag of Spring form tag library renders an HTML 'textarea'. Sample code is shown below :
<tr> <td>Comment:</td> <td><form:textarea path="comment" rows="3" cols="20" /></td> </tr>
This will render the following HTML :
<tr> <td>Comment:</td> <td><textarea rows="3" cols="20"></textarea></td> </tr>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: The textarea tag
Post your Comment