Mark, What version of WW are you using? Beta 2 or the latest from CVS? I haven't tested file upload in a long time, so it's possible a bug has been introduced. Can you tell what type of object ServletActionContext.getRequest() is returning?
-Pat -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Woon Sent: Wednesday, January 07, 2004 9:17 AM To: [EMAIL PROTECTED] Subject: [OS-webwork] File uploading problem I'm trying upload a file in WW2 and following the recipe in the cookbook, but I'm getting a ClassCastException on MultiPartRequestWrapper multiWrapper = (MultiPartRequestWrapper) ServletActionContext.getRequest(); Any ideas what the problem might be? Thanks, -Mark ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork