I have a servlet which streams content to the brower using
ion", "attachment; filename=" +fileName);
I have an if condition which only does the above if there is content to stream. This content comes from the database.
If there is content it works as it should, ie displays a dialog window to open or save.
If there is no content then I just want to return from this servlet. What happens is that the browser points to this servlet
What i want is the original jsp to display where the user clicks to do the download.