Using the Commons FileUpload, parameter handling is broken
----------------------------------------------------------
Key: STS-246
URL: http://mc4j.org/jira/browse/STS-246
Project: Stripes
Issue Type: Bug
Components: ActionBean Dispatching
Affects Versions: Release 1.4
Environment: Stripes 1.4 Beta 2, OS: Kubuntu, Java: 1.5, Tomcat 5.5
Reporter: Christian Schwanke
Assigned To: Tim Fennell
Hi,
I had trouble using the O'Reilly MultipartWrapper (premature end...) so I
decided to give the commons wrapper a chance.
Request parsing does seem to work fine, but Stripes itself seems incapable of
reading the request parameters afterwards.
In my case, I have an ActionBean with two methods, one used to display the form
and one to handle the submission. However, the second method is never triggered
since Stripes doesn't get the event (ie. the name of the submit button).
To investigate this further, I split up the methods in two different
ActionBeans, forcing Stripes to call the form-submission-handling method. This
also fails since Stripes cannot find the source-page-parameter (which is of
course present as a hidden field in the original form).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development