• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading a textarea as a stream

 
Dilshan Edirisuriya
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my jsp page i have several text fields and a textarea. The text area is an editor window component. It can include text files as well as image files. so i want to read that text area as input stream and save in the database as a blob. How should i read the text area only as a stream.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65124
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HTTP make no such provisions. When the form is submitted, the value of the text area will be submitted as a string value just like any other control.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic