This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
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.