Click here to Skip to main content
11,721,289 members (85,352 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: Javascript Java Ajax , +

I have a form which consists of some textfields, textarea , file for browsing and a submit button. I want to browse the file and as soon as the file get browsed the contents of the selected file should be copied to the text area and once the content is copied to the text area, I will submit the form.
Please Note: it should be done on the same page or form. You are free to use any scripting language but programming language should be java(No Swing)
I am using JSP. No php or asp code.

Posted 4-Sep-12 12:47pm
NIRAL SONI at 5-Sep-12 12:16pm
are you trying to upload a plain text file or something else ?
ethanlokesh at 5-Sep-12 20:28pm
Yes its a text file.
ethanlokesh at 8-Sep-12 7:02am
Is there any Solution?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 515
1 OriginalGriff 279
2 Mika Wendelius 170
3 F-ES Sitecore 150
4 cyycoish 70
0 Sergey Alexandrovich Kryukov 2,209
1 OriginalGriff 969
2 F-ES Sitecore 660
3 Maciej Los 609
4 Richard MacCutchan 560

Advertise | Privacy | Mobile
Web02 | 2.8.150901.1 | Last Updated 4 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100