Hi Jaman,

a) Calling out.flush() or out.close() will probably take of the problem.  If
that does take care of your problem then I would consider this a bug in your
servlet engine.  The servlet engine should have flushed the output for you
upon return from the service method.

b) Have you considered using a different VM that does a better job of
garbage collection?

ted stockwell


> -----Original Message-----
> From: Jaman Burton [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 06, 1999 10:09 AM
> To:   [EMAIL PROTECTED]
> 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

Reply via email to