Resin has an option that handles parsing multipart forms automatically.
http://www.caucho.com/products/resin/ref/app-config.xtp#multipart-form
"...an uploaded file with a form name of foo, the parameter value
contains the path name to a temporary file containing the uploaded
file. foo.filename contains the uploaded filename, and foo.content-type
contains the content-type of the uploaded file."
To use this option with Wicket, my workaround was to remove
final/private from Form.handleMultiPart() and override it to return
true. I then use a custom FileUploadField that gets the file
information from the parameters instead of the built-in-wicket
multipart form handling.
Rob
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user