I tried two approaches to export CSV data and each one gives a different issue.
Approach 1 - Using a Struts Action class and Servlet
Here the problem is when i export the file, it gives me an option to save/open the file and after that the mouse cursor will show the waiting icon and i cant do anything on the browser window. the browser completely freeze there and i cant do anything on it unless i refresh the page. Anybody know whats going on here? See the code below: