You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ramesh K <ra...@angleritech.com> on 2008/06/12 21:16:22 UTC

Struts 2 file uploaded with temp extension

Hi,

    In my struts 2 file uploading application I uploaded a jpg image through
s:file tag and got .tmp file as output. How can I get my uploaded file with
the same extension? I set the first filter as ActionContextCleanup
in web.xml

please help me to solve this.

Regards,

Ramesh K
-- 
View this message in context: http://www.nabble.com/Struts-2-file-uploaded-with-temp-extension-tp17807760p17807760.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: Struts 2 file uploaded with temp extension

Posted by Ramesh K <ra...@angleritech.com>.
Hi,

    In my struts 2 file uploading application I uploaded a jpg image through
s:file tag and got .tmp file as output. How can I get my uploaded file with
the same extension? I set the first filter as ActionContextCleanup
in web.xml

please help me to solve this.

Regards,

Ramesh K



Ramesh K wrote:
> 
> Hi,
> 
>     In my struts 2 file uploading application I uploaded a jpg image
> through s:file tag and got .tmp file as output. How can I get my uploaded
> file with the same extension? I set the first filter as
> ActionContextCleanup
> in web.xml
> 
> please help me to solve this.
> 
> Regards,
> 
> Ramesh K
> 

-- 
View this message in context: http://www.nabble.com/Struts-2-file-uploaded-with-temp-extension-tp17807760p17809773.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: Struts 2 file uploaded with temp extension

Posted by Dave Newton <ne...@yahoo.com>.
--- On Thu, 6/12/08, Ramesh K <ra...@angleritech.com> wrote:
> In my struts 2 file uploading application I uploaded a
> jpg image through s:file tag and got .tmp file as output. 
> How can I get my uploaded file with the same extension?

Was the FAQ entry not helpful?

http://struts.apache.org/2.x/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