that code worked just fine for me I just cut and pasted it with the
appropriate imports..
the only thing I can think of is that your not closing the out at the end
and maybe you should flush() it also before closing it.
-Mark
----- Original Message -----
From: Jaman Burton <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 1999 11:08 AM
Subject: Escape from htmlkona
> Due to the hundreds of small objects created and decrease in
> performance from using weblogic's htmlkona, our company decided to
> appoint me to remove all the htmlkona code. I am running into a
> problem though. Can someone look at this code and tell me why I
don't
> see Hello World on my browser? I know the server is configured
> correctly because I can replace the code with kona and it works just
> fine.
>
>
> public class Home extends HttpServlet {
> public void doGet(HttpServletRequest req, HttpServletResponse res)
> throws ServletException, IOException {
> res.setContentType("text/html");
> PrintWriter out = res.getWriter();
> out.println("<HTML>");
> out.println("<HEAD><TITLE>Hello World</TITLE></HEAD>");
> out.println("<BODY>");
> out.println("<BIG>Hello World</BIG>");
> out.println("</BODY></HTML>");
> }
> }
>
> Thanks a lot,
>
> Jaman
>
>
___________________________________________________________________________
> 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
>
___________________________________________________________________________
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