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

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

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