java - Export to Excel for absolute path -


i'm trying export report excel. using poi i'm able store in path (say d:/reports) hardcoded in code.

my requirement is, before report generation, ask path, user wants save report to. how achieve this?

you cannot store file in user's computer without permission/action.

1)store generated file in container (tomcat's folder). 2)write file response content. 3) users get's prompt select location save file disk. 4) delete generated file after writing user's computer. 

Comments

Popular posts from this blog

json - Zend error Connection -

javascript - Trigger mouseenter when an animated element touches mouse -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -