By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,185 Members | 672 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,185 IT Pros & Developers. It's quick & easy.

how to write the textbox values into a file

P: 3
hi...i am trying to write a programme for uploading file with jsp using multipart/form data.it's working.....but the problem is i can't write the textbox values into a file....if change the form enctype as text/plain...then the textbox value is taken..but the file uploading is not working...i want a programme like when the file is uploading the textbox is value is write into that file...anyone know how to do this....with javascript and jsp..
May 19 '07 #1
Share this Question
Share on Google+
1 Reply

acoder
Expert Mod 15k+
P: 16,027
Your server-side language should have the filename when uploading. Using javascript you could copy the file field value to a text-field on submit.
May 21 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.