Posted by Dave Newton <ne...@yahoo.com>.
--- Anshul Khare <an...@tavant.com> wrote:
> I want to retrieve things like ContentType, File
Name
> etc which was possible in struts 1.1 using methods
> like getContentType(), getFileName() on FormFile
> Object.
>
> How do I accomplish the same in Struts 2 ?
http://struts.apache.org/2.x/docs/file-upload-interceptor.html
http://struts.apache.org/2.x/docs/how-do-we-upload-files.html
Also note that at least so far it seems necessary (?)
to us the ActionContextCleanUp filter to get file
uploads to work, but this may no longer be the case (I
don't know one way or the other).
http://struts.apache.org/2.x/struts2-core/apidocs/index.html
d.
____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org