Thanks for the reply. I have managed to narrow this down a bit further. The problem is that if I specify parameters when posting to servlet 1 which then forwards to servlet 2, the second servlet doesnt get the parameters forwarded to it, although it does get any attributes. I have managed to find the following workaround. If I loop through the parameters and call setAttribute() for each one, the attributes are actually passed to servlet 2 fine. Go figure. Seems to be a definite problem with parameters rather than attributes. I call a convertParamsToAttributes() method the line before any forward() and the parameters get passed to servlet 2 dressed up as attributes. -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Harris Wulfson Sent: Friday, 25 February 2000 4:45 To: [EMAIL PROTECTED] Subject: Re: Tomcat 3 not accepting form parameters in the doPost() method Matt Krevs wrote: > > in my servlet, request.getParameter("param1") returns null if the form > method is "post", but it returns "test" if the form method is "get". I have experienced that problem as well, but have not found a solution. Just letting you know you're not alone. Anyone know the answer? -Harris =========================================================================== 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 =========================================================================== 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
