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 OriginalGriff 280
1 Jochen Arndt 150
2 Kornfeld Eliyahu Peter 120
3 PIEBALDconsult 110
4 Richard MacCutchan 105
0 OriginalGriff 6,055
1 DamithSL 4,621
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,500
4 Sergey Alexandrovich Kryukov 3,294


Advertise | Privacy | Mobile
Web04 | 2.8.141220.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