Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

textarea

 
Pradeep
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://jakarta.apache.org/site/downloads/downloads_commons-fileupload.cgi

open this and add common file upload jars.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64632
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic