Put
out.flush();
out.close(); at the very end...
Some servlet engines require explicit closing, some
don't.
Regards. Alex.
---Jaman Burton <[EMAIL PROTECTED]> wrote:
>
> 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
>
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
___________________________________________________________________________
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