Results 1 to 5 of 5
  1. #1
    chennee72 is offline Member
    Join Date
    Aug 2008
    Posts
    3
    Rep Power
    0

    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..

  2. #2
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Default

    Response.getInputStream.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  3. #3
    Join Date
    Nov 2008
    Posts
    1
    Rep Power
    0

    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)

  4. #4
    Join Date
    Jun 2011
    Posts
    4
    Rep Power
    0

    Default

    how to upload the excel with 50000 rows

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,949
    Rep Power
    19

    Default

    Possibly start your own thread rather than hijacking someone else's?

Similar Threads

  1. Read file from URL and save to FTP
    By nitinmukesh in forum Networking
    Replies: 6
    Last Post: 06-03-2012, 08:45 PM
  2. how to upload a file?
    By tommy in forum JavaServer Pages (JSP) and JSTL
    Replies: 4
    Last Post: 06-30-2008, 02:50 PM
  3. file upload
    By sundarjothi in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 06-27-2008, 11:52 AM
  4. upload file validations
    By call_sreenu in forum Java Servlet
    Replies: 0
    Last Post: 06-10-2008, 10:05 AM
  5. File Upload
    By ShoeNinja in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 11-09-2007, 10:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •