This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I want to send gif image to the client over mail from a inputstream which is recieved from a servlet.Iam connecting the servlet thru a java thread and it is possible for me to store it in a file & send the mail as attachment. But my requirement is I should not store the image in a file instead I have to send it to the client as image/gif mail. Can anyone help me out as to what is the class & corresponding methods in the JMS with which I can do this.
Thanx in Advance Srihari
Joined: Apr 29, 2002
Yeah!!! I Found out the solution.From java.sun.com I got a class ByteArrayDataSource thru which it became possible to send gif image from memory. Thanx Srihari