My Java based webapp has a servlet which streams PDF content back to the browser based on request parameter.
e.g. user clicks on an A tag with an href of \"myApp/Fet
The tab title is taken from the PDF documents metadata, specifically the Title attribute. So if you generate the document in your app, your PDF library should have a way to set the documents metadata.