What you are using (Struts, and so on) is irrelevant. The browser will handle the PDF in that manner in which it was configured to do so.
The only other control you have over the situation is setting the content-disposition header. Search for information on that header and see if you can get the behavior you want. If not, then it's a matter of browser configuration.