I am trying to load an image in my page from a servlet.

...
PrintWriter out = res.getWriter();
out.println ("<img src=\"test.gif\">");
...
It never appears as an image in the browser when I invoke the servlet. I
tried with servletrunner as well as Apache Jserv.
Could someone enlighten me what I am doing wrong?

thanks,

- Sudhir

--
   /**
    *   Sudhir Kumar
    *   CyberCash India Pvt. Ltd.      (O) 91-80-552 5660
    *   82/2A M.R Gardens, 3rd A Cross (H) 91-80-528 5975
    *   18th Main, 6th Block, Koramangala, Bangalore - 560025
    *
    *   Any intelligent fool can make things bigger, more complex and
    *   more violent. It takes a touch of genius-and a lot of courage
    *   to move in the opposite direction.
    *   -- Albert Einstein
    */

___________________________________________________________________________
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

Reply via email to