Once again I really don't understand the suggestion. I will try and explain my situation with more clarity. Sorry for the first post not explaining very well.
In my jsp I use JSTL to populate a table with four columns. Column one is the document index which appears as a button with the value set to the index number, so authorized users can click and edit the document. The second column has part number, third is description. For the fourth column I want to put a link in each row appearing as view/print. When the user clicks this link the document will open as a printable document.