File upload and Download in a web app using struts2
Posted
by lakshmanan
on Stack Overflow
See other posts from Stack Overflow
or by lakshmanan
Published on 2010-03-13T04:34:24Z
Indexed on
2010/03/13
4:37 UTC
Read the original article
Hit count: 680
Hi
In struts2 upload methods, can I choose where the uploaded file must be saved. I mean, all the examples in web ask me to store in WEB-INF which surely is not a good idea. I want to be able to store the uploaded file in any place in my disk.
How should i do it? Can i do it with help of ServletContextAware interceptor ?
© Stack Overflow or respective owner