: Ching sen, Jackson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, November 26, 2000 4:29 AM
Subject: draw image
hi all,
I copy this draw image servlet from a book
import java.io.*;
import java.awt.*;
import javax.servlet.*;
import javax.servlet.http.*;
import
hi all,
I copy this draw image servlet from a book
import java.io.*;
import java.awt.*;
import javax.servlet.*;
import javax.servlet.http.*;
import Acme.JPM.Encoders.GifEncoder;
public class HelloWorldGraphics extends HttpServlet {
public void doGet(HttpServletRequest req,
Hi, All
I am trying to output an image to the browser directly using OutputStream. This worked
fine in a servlet with an ServletOutputStream.
However, when I tried to do the same thing in JSP, I cann't find a way to get the
OutputStream. The default (predefined) out is a PrintWriter , which
test, don't reply
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html