| Author |
how to submit large amount of text in the form?
|
xiaoma wang
Ranch Hand
Joined: Mar 04, 2002
Posts: 74
|
|
hi, everyone: I am doing a project and meet a question: In the HTML form, i want to submit some text to the target jsp file. Usually, text box is used to be filled in the text. But I need a large text area to write sth and submit it to the jsp file. Can anybody tell me how to do it? Thanks in advance! Xiaoma Wang
|
 |
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
|
|
|
Just create the textarea using the appropriate HTML tags. You can specify ROWS, COLS, WRAP, etc.I know it does not have a VALUE atribute. Any text that's typed in will be sent to the server.
|
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56212
|
|
And be sure to make the method on your form POST (the default is GET). hth, bear
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: how to submit large amount of text in the form?
|
|
|