Results 1 to 11 of 11
  1. #1
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    396
    Rep Power
    6

    Default UPload a file to server?

    hello

    i am doing jsp pages that deals with file upload.
    using file tool in html i select a file which i want to upload.
    but i dont know how to move the file from local server to my web server.
    i am using Tomcat web server.

    help me to upload file to my web server.

    regards
    mak.

  2. #2
    neeraj.singh is offline Member
    Join Date
    Feb 2009
    Location
    Delhi
    Posts
    63
    Rep Power
    0

    Default

    give me your email id
    i will mail you a class that i hv created to upload a file to the server.

  3. #3
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    396
    Rep Power
    6

    Default

    my mail id is makpandian@yahoo.co.in?i am waiting for that?
    Thanking you?
    Mak
    (Living @ Virtual World)

  4. #4
    neeraj.singh is offline Member
    Join Date
    Feb 2009
    Location
    Delhi
    Posts
    63
    Rep Power
    0

    Default

    ok.. i will mail you with a day.

  5. #5
    G.Ajay Kumar is offline Member
    Join Date
    Feb 2009
    Posts
    3
    Rep Power
    0

    Default

    i am Ajay i am facing a small problem that is i don't know how to compile jsp file please tell me the solution

  6. #6
    G.Ajay Kumar is offline Member
    Join Date
    Feb 2009
    Posts
    3
    Rep Power
    0

    Default

    thanks for ur help

  7. #7
    neeraj.singh is offline Member
    Join Date
    Feb 2009
    Location
    Delhi
    Posts
    63
    Rep Power
    0

    Default

    Quote Originally Posted by G.Ajay Kumar View Post
    i am Ajay i am facing a small problem that is i don't know how to compile jsp file please tell me the solution
    hi ajay

    can please brief us about your problem so that we can try to help you?

    thanks
    /\/

  8. #8
    arseny is offline Member
    Join Date
    Mar 2009
    Posts
    25
    Rep Power
    0

    Default

    Apache File Upload java library will help you. It documented enough.

  9. #9
    effkay is offline Member
    Join Date
    Jul 2009
    Posts
    3
    Rep Power
    0

    Default

    Quote Originally Posted by neeraj.singh View Post
    give me your email id
    i will mail you a class that i hv created to upload a file to the server.
    Hello,

    can you please email me the class file as well? Or perhaps upload somewhere and share the link ?

    effkay @ ymail.com

    please remove spaces as forum is not allowing me to post email addy :(

    thanks.

  10. #10
    effkay is offline Member
    Join Date
    Jul 2009
    Posts
    3
    Rep Power
    0

    Default

    Quote Originally Posted by arseny View Post
    Apache File Upload java library will help you. It documented enough.
    It works fine ... but when I run with applet, it does not work... even though I have signed the applet and used the AccessController.doPrivileged( new PrivilegedAction()....

    reason I believe is, because when you call the

    mPost.addParameter("F" + i, f1); function to add a file, the code goes to the external JAR file and privilege is gone :(

    Anyone with help?

  11. #11
    puneet10 is offline Member
    Join Date
    Jul 2009
    Posts
    1
    Rep Power
    0

    Default

    hello friends,
    can anybody suggest me how i can upload image from JSP page and save it to the database server like Mysql server.
    thnx

Similar Threads

  1. How to upload image into server
    By vinodkonatala in forum Advanced Java
    Replies: 2
    Last Post: 10-15-2008, 12:10 PM
  2. Automatically File Upload to server ...Help Needed
    By 82rathi.angara in forum New To Java
    Replies: 6
    Last Post: 08-05-2008, 07:13 AM
  3. What to upload in the server?
    By impact in forum Java Servlet
    Replies: 4
    Last Post: 07-15-2008, 03:36 PM
  4. how to upload a file?
    By tommy in forum JavaServer Pages (JSP) and JSTL
    Replies: 4
    Last Post: 06-30-2008, 02:50 PM
  5. file upload
    By sundarjothi in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 06-27-2008, 11:52 AM

Posting Permissions

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