I am converting a servlet from using Jigsaw's Servlet methods to Tomcat's and I am curious why calling getInputstream on the request in Tomcat returns null. This calls works fine in Jigsaw receiving the same XML data, but returns null in Tomcat. Any help would be appreciated. Below is a simple example of the code that is failing:
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { ... System.out.println("Content lenght = "+request.getContentLength()); // this line works ServletInputStream in = request.getInputStream(); // this returns null, why? ... } BTW - I can read the request header and content length fine from the request, just can't get the inputstream. Thank you, George --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]