Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-17-2008, 09:05 AM
Member
 
Join Date: Aug 2008
Posts: 3
Rep Power: 0
chennee72 is on a distinguished road
Exclamation upload and save file
I have a web page that allows user to upload an excel file.

question is how to save the uploaded excel file to server disk drive when user click the submit button?

Please advice..
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 09-17-2008, 06:01 PM
Nicholas Jordan's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Southwest
Posts: 1,018
Rep Power: 3
Nicholas Jordan is on a distinguished road
Default
Response.getInputStream.
__________________
Introduction to Programming Using Java.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 11-21-2008, 07:35 AM
Member
 
Join Date: Nov 2008
Posts: 1
Rep Power: 0
senthilprofile is on a distinguished road
Default
<Form ENCTYPE=multipart/form-data ACTION='single_upload_page.jsp' METHOD=post><INPUT TYPE=TEXT NAME="INPUT1" VALUE="SENTHIL">
File Upload : <INPUT NAME="F1" TYPE="file"></Form>

By using ,
string value=request.getParameter("INPUT1");

I cant able to get value using the above getparameter method.but without enctype its possible.why? and how to rectify this prob, please someone adivse me.(if possible send some sample code)
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Read file from URL and save to FTP nitinmukesh Networking 4 07-21-2008 11:25 PM
how to upload a file? tommy JavaServer Pages (JSP) and JSTL 4 06-30-2008 03:50 PM
file upload sundarjothi JavaServer Pages (JSP) and JSTL 1 06-27-2008 12:52 PM
upload file validations call_sreenu Java Servlet 0 06-10-2008 11:05 AM
File Upload ShoeNinja JavaServer Pages (JSP) and JSTL 0 11-09-2007 11:09 PM


All times are GMT +2. The time now is 11:08 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org