DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=31494>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31494 the HttpServletRequest object in VelocityServlet.doPost() does not contain POSTed parameters Summary: the HttpServletRequest object in VelocityServlet.doPost() does not contain POSTed parameters Product: Velocity Version: 1.4 Platform: PC OS/Version: Windows XP Status: NEW Severity: Major Priority: Other Component: Source AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The HttpServletRequest object in VelocityServlet.doPost() does not contain POSTed parameters if the form was submitted specifying an encoding type. if the .html form has: <form method="post" action="http://127.0.0.1"> ...a bunch of <input> tags... </form> then in org.apache.velocity.servlet.VelocityServlet.doPost() you can do request.getParameterNames() and all parameter names are retrieved, but if the .html form has: <form method="post" action="http://127.0.0.1" enctype="multipart/form-data"> ...a bunch of <input> tags... </form> then in org.apache.velocity.servlet.VelocityServlet.doPost() a call to request.getParameterNames() returns null. The problem happens much earlier really but this is the symptom I experience. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
