You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Henning Schmiedehausen (JIRA)" <de...@velocity.apache.org> on 2007/03/08 01:10:43 UTC
[jira] Closed: (VELOCITY-296) the HttpServletRequest object in
VelocityServlet.doPost() does not contain POSTed parameters
[ https://issues.apache.org/jira/browse/VELOCITY-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henning Schmiedehausen closed VELOCITY-296.
-------------------------------------------
> the HttpServletRequest object in VelocityServlet.doPost() does not contain POSTed parameters
> ---------------------------------------------------------------------------------------------
>
> Key: VELOCITY-296
> URL: https://issues.apache.org/jira/browse/VELOCITY-296
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.4
> Environment: Operating System: Windows XP
> Platform: PC
> Reporter: Ivo Pletikosic
> Assigned To: Velocity-Dev List
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org