Jaman,

Looks like you need an out.close() ... plus you left out the init, which
supposedly you should usually have in there.

-Matt Tucker

Jaman Burton 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

--
-------------------------------
         Matt Tucker
     [EMAIL PROTECTED]
 http://cs.uiowa.edu/~matucker

      See CoolServlets:
  http://www.coolservlets.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

Reply via email to