File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Reading a textarea as a stream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Reading a textarea as a stream" Watch "Reading a textarea as a stream" New topic
Author

Reading a textarea as a stream

Dilshan Edirisuriya
Ranch Hand

Joined: Apr 22, 2006
Posts: 299
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.


Dilshan Edirisuriya SCJP1.4, SCWCD1.4, SCBCD 5
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60053
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading a textarea as a stream
 
Similar Threads
validate multiple email addresses in a textarea
Setting a TextArea to show contents of file.
textarea and conditional READONLY
problem enctype and charset
Visible column and row count in JTextArea