struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Newfield <>
Subject Re: File upload issue with Struts 2.1.6 (uploaded file is always null in action)
Date Fri, 25 Sep 2009 19:16:42 GMT
hisameer wrote:
> Thanks for your reply. I tried to put the method public void
> setUploadFile(File file) but no success, file is still null in the action.

Are the other two setters (ContentType, FileName) called?
Do you have the appropriate interceptor in place for this action?
I believe there's a .jar required for file upload that isn't part of the 
standard struts you have that in WEB-INF/lib/?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message