Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to submit large amount of text in the form?

 
xiaoma wang
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And be sure to make the method on your form POST (the default is GET).
hth,
bear
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic