Results 1 to 3 of 3
  1. #1
    ravian is offline Senior Member
    Join Date
    Nov 2007
    Posts
    115
    Rep Power
    0

    Default sending image file from JSP to Servlet

    Hi,

    I want to send an image from JSP to a standalone Servlet. Servlet will then process it before saving (that is another story). How to do this? I would appreciate code samples.

    Thanks in advance.

  2. #2
    roots's Avatar
    roots is offline Moderator
    Join Date
    Jan 2008
    Location
    Dallas
    Posts
    293
    Rep Power
    7

    Default

    image as in URL or runtime Image .. ?
    if same container .. application .. pass through session object.
    dont worry newbie, we got you covered.

  3. #3
    ravian is offline Senior Member
    Join Date
    Nov 2007
    Posts
    115
    Rep Power
    0

    Default

    Thanks roots.
    Container is not the same. And the image is actually uploaded using JSP page. Please advice.

Similar Threads

  1. Sending Image Objects through the Clipboard
    By Java Tip in forum java.awt.datatransfer
    Replies: 0
    Last Post: 04-16-2008, 11:52 PM
  2. Servlet sending the file (setting header)
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-27-2008, 09:14 PM
  3. problems when loading an image in servlet
    By oregon in forum Java Servlet
    Replies: 1
    Last Post: 08-05-2007, 07:02 PM
  4. Problems sending file throught TCP sockets
    By Nite in forum Advanced Java
    Replies: 2
    Last Post: 08-04-2007, 10:01 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
  •