Niall,
Thanks for the reply. This certainly helps (at least, helps me believe
that I'm not doing something egregiously wrong in my webapp :).
Collin
Niall Pemberton wrote:
Parameters parsed from the Multipart request are stored in the
MulitpartRequestWrapper. However before Struts forward
To be honest, I'm not sure exactly what the Struts framework is using to
manage the file uploads. I simply create a FormFile member in my
ActionForm and it gets populated correctly with the uploaded file data.
Is this a parameter I can configure within Struts? Is there a feasible
replacement
Parameters parsed from the Multipart request are stored in the
MulitpartRequestWrapper. However before Struts forwards the request it
unwraps it, loosing those parameters. So when your validation fails
this happens when it forwards to your "input".
This can be resolved in a Servlet 2.3 environment
Collin,
are you using
org.apache.commons.fileupload.DiskFileUpload.parseRequest(request)
?
I'm not sure anymore if this is wrapped by struts or not, but I guess it
is and it's this bit that isn't working.
Adam
Collin VanDyck on 02/11/05 20:53, wrote:
Hello All
Any ideas on this one? I
Hello All
Any ideas on this one? I switched to a manual validation, which works,
though I'd much rather use the built-in mechanism to validate where
possible.
thanks
Collin
Collin VanDyck wrote:
Hello!
I'm using struts-1.2.7.
I have form that needs both file upload functionality as well
5 matches
Mail list logo