阅读背景:

Tomcat 6:如何在Web方法调用结束后删除临时文件?

来源:互联网 

I have a temporary file with data that's returned as part of a SOAP response via a MTOM binary attachment. I would like to trash it as soon as the method call "ends" (i.e., finishes transferring). What's the best way for me to do this? The best way I can figure out how to do this is to delete them when the session is destroyed, but I'm not sure if there's a more 'immediate' way to do this.I have a temporary file with data that's return




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: