Document download presentation on a JSP using Struts
posted 12 years ago
I have a JSP page which handles the uploading of the document. The corresponding action stores that document in the database. This document could be a word document or an excel spread sheet etc etc.
The next JSP page will have some text input field as well some kind of way so that I show the link for that uploaded document in the previous step. When the JSP page first comes up, the action gets the document from the database. What do I do with this document, so that it can be presented to the user on JSP as a link. There could be a list of documents.