Hello

  I have an interesting problem. I have Tomcat 3.2.1 working with Apache 1.3 on
RedHat 6.22. I am invoking servlet with POST method.

  public void doPost(HttpServletRequest request, HttpServletResponse response)
  throws IOException, ServletException  {

    response.setContentType("text/html");
    PrintWriter out = response.getWriter();

    out.println("<html>Some html</html>");
  }

  This simple example will work with Tomcat but not with Tomcat-Apache
  If I add a simple line....

 public void doPost(HttpServletRequest request, HttpServletResponse response)
  throws IOException, ServletException  {

    response.setContentType("text/html");
    Enumeration e = request.getParameterNames();
    PrintWriter out = response.getWriter();

    out.println("<html>Some html</html>");
  }

  example would work.

  Can someone explain me this? I think maybe there is problem with mod_jk.so.

   Thanks.

   Jiri Trnka

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to