Greetings All Java gurus.
Ive got a page thats been making me
I have a JSP that is returning results from the users entered search criteria on a previous page
I would really like to make a button that would allow the user to save the file as either .xls or .csv
I thought I was on the right track with this header....
once the user clicks RUN on the search page... the results page opens up and the user is prompted to either save the file on there desktop or cancel.. If the user saves the file you get the page output in the excel file perfectly .... But the data is not displayed on the JSP and the users want both
anyone that can help point this greenhorn in the right direction Would just make my day
Thank you and GodSpeed
sudha swami wrote:Hi,
Display the data using the JSP either scriptlets or the modern approach. Have a hyperlink/button on the JSP page , when the user clicks link/button, it will initiate a new request with the header set to open the save dialog box.
Why bother with the link when the request can be automatically triggered?