struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: Unexpected Exception caught setting 'uploadFileContentType'
Date Sun, 14 Dec 2008 16:25:06 GMT
--- On Sun, 12/14/08, red phoenix <rodphoenix@gmail.com> wrote:
> I have no  'uploadFileContentType'  and 'uploadFileFileName' in my 
> JSP, why raise 'uploadFileContentType' and 'uploadFileFileName' error? 

Because you have no 'uploadFileContentType' and 'uploadFileFileName' in your action.

> How to correct my above code?

Create 'uploadFileContentType' and 'uploadFileFileName' properties in your action.

http://struts.apache.org/2.0.14/docs/how-do-we-upload-files.html

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message