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 textarea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "textarea" Watch "textarea" New topic
Author

textarea

Pradeep
Ranch Hand

Joined: Sep 19, 2006
Posts: 49
hi,

I have file open dialog box and one textarea, when I select file from open dialog box it should display(open) in textarea

How to do that?
yamuna ranganathan
Greenhorn

Joined: Apr 15, 2007
Posts: 3
Its file upload concept in servlet.
open "common file uploads" in Google you can learn the concept there.
paste and view this site you will get an idea.
http://forum.java.sun.com/thread.jspa?threadID=727234&messageID=4188588
yamuna ranganathan
Greenhorn

Joined: Apr 15, 2007
Posts: 3
http://jakarta.apache.org/site/downloads/downloads_commons-fileupload.cgi

open this and add common file upload jars.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

You're going to have a hard time displaying both controls on the same page -- or at least without a page refresh due to submission of the multi-part upload form. I suppose you could do some trickery with a hidden iframe...


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: textarea
 
Similar Threads
How to Get a String from a Text Area?
How to avoid open/Save dialog box while downloading?
Open an XML file in a popup window
A call for an OpenDir dialog...?
File Chooser Dialog box