I'm using Tomcat, and am having problems submitting
post requests.  I have a form that calls a jsp when
submitted.  If the form uses method=get, it works
perfectly.  When it uses method=post, I get the following
exception.  The exception looks like it never reaches
my code, but that is rather an internal problem.

Any ideas anyone?

Thanks! Phil

Error: 500
Internal Servlet Error:

java.lang.IllegalArgumentException: Short Read
at java.lang.Throwable.(Compiled Code)
at java.lang.Exception.(Compiled Code)
at java.lang.RuntimeException.(Compiled Code)
at java.lang.IllegalArgumentException.(Compiled Code)
at javax.servlet.http.HttpUtils.parsePostData(Compiled Code)
at org.apache.tomcat.util.RequestUtil.readFormData(Compiled Code)
at org.apache.tomcat.core.RequestImpl.handleParameters(Compiled Code)
at org.apache.tomcat.core.RequestImpl.getParameterValues(Compiled Code)
at
org.apache.tomcat.core.HttpServletRequestFacade.getParameterValues(Compiled
Code)
at org.apache.tomcat.core.HttpServletRequestFacade.getParameter(Compiled
Code)
at org.apache.jasper.runtime.JspServlet.preCompile(Compiled Code)
at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.tomcat.core.ServletWrapper.handleInvocation(Compiled Code)
at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
at org.apache.tomcat.core.ContextManager.service(Compiled Code)
at
org.apache.tomcat.service.Ajp11ConnectionHandler.processConnection(Compiled
Code)
at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)

______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com?sr=mc.mk.mcm.tag001

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to