File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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: 63870

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: textarea
It's not a secret anymore!