Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

[S2] How to avoid FileUploadInterceptor to save the tmp file?

Joe Lam

2007-07-30



Hi all,

I wonder how to avoid FileUploadInterceptor to save the tmp file. because in
my action I will process it anyway. IMO it is not efficient to have the
interceptor to save a tmp file first and then have my action class to
process the tmp file after. I think the most efficient way is to get the
inputstream (just like using commons fileupload) in my action class and
process it in my own way.

I hope write a custom interceptor is not the only solution %-|

Thank you very much.

Joe
--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.