Relative Content

Tag Archive for jsphttp-redirectservletsdownload

How to send a redirect after generating a file download in Servlet

I’m developing a web page using Java Servlets and JSP. I have functionality where, depending on the received action (action), different operations are performed. However, I’m encountering an issue with a specific action (action4) which should generate a PDF and then redirect the user to another page.