aspose file tools*
The moose likes JSP and the fly likes how to submit large amount of text in the form? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "how to submit large amount of text in the form?" Watch "how to submit large amount of text in the form?" New topic
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: 1510
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: 61628
    
  67

And be sure to make the method on your form POST (the default is GET).
hth,
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
wood burning stoves
 
subject: how to submit large amount of text in the form?