Dear all,
I am writing a test servlet to load a GIF image (actually, I would like
to load GIF image from a database, but now, I just want to see the image
on the browser)
Can anyone give me a hand?
public void doGet (HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException
{
res.setContentType("image/gif");
ServletOutputStream out = res.getOutputStream();
...............
}
That is where I up to. Thanks.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html