Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Javascript Java Ajax , +
Hi,
 
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.
 
Regards,
Ethan
Posted 4-Sep-12 13:47pm
Comments
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 BillWoodruff 360
1 Mathew Soji 309
2 DamithSL 225
3 Afzaal Ahmad Zeeshan 202
4 Maciej Los 190
0 OriginalGriff 6,249
1 Sergey Alexandrovich Kryukov 5,853
2 DamithSL 5,183
3 Manas Bhardwaj 4,673
4 Maciej Los 3,865


Advertise | Privacy | Mobile
Web04 | 2.8.1411019.1 | Last Updated 4 Sep 2012
Copyright © CodeProject, 1999-2014
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