Hi all,
I call HttpUtils.parsePostData() in my servlet which works fine.
When I have finished processing the data I forward the request to a jsp page
using :-
getServletConfig().getServletContext().getRequestDispatcher("/mypage.jsp").forward(request,
response)
At this point I get an internal server error with a
java.lang.IllegalArgumentException error.
The exception originates from a subsequent call to HttpUtils.parsePostData() by
the server when processing my jsp page.
If I replace the call to HttpUtils.parsePostData() (in my servlet) with
request.getParameter() for each form element, then everything works fine.
Does the call to HttpUtils.parsePostData() from my servlet somehow invalidate
the subsequent call to the same method ?
Is this a bug ?
I'm using Tomcat and Linux.
Thanks,
Phil Hedley
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets