my dog learned polymorphism*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "textarea" Watch "textarea" New topic


Ranch Hand

Joined: Sep 19, 2006
Posts: 49

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

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.
yamuna ranganathan

Joined: Apr 15, 2007
Posts: 3

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

Joined: Jan 10, 2002
Posts: 60810

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]
Don't get me started about those stupid light bulbs.
subject: textarea
Similar Threads
Open an XML file in a popup window
File Chooser Dialog box
How to Get a String from a Text Area?
A call for an OpenDir dialog...?
How to avoid open/Save dialog box while downloading?