Hi, Am facing a problem in opening PDF files when migrated from Tomcat 4.1 to 5.5. In 4.1, i was able to open different PDF files in different browsers and each was having a different name. Now in Tomcat5.5, when ever i open multiple PDF files, the PDF files are opening in sinlge browser itself and when saving ,they are getting saved with a constant name.
Could any one let me know if they had come across any such problem and if so pls provide some response.
If I were debugging this, the first thing I would do is use either a packet sniffer or a tool like LiveHttpHeaders (plugin for FireFox) to see what's different about the response headers when the hyperlink is clicked.
The Content-Disposition header is where the filename is suggested to the browser. The same header also suggests that the file either be shown inline or be treated as an attachment.
See if that header and the content-type headers are the same in both versions of Tomcat
Joined: Mar 06, 2002
Thank zou ben, but is there a way i can find out from the browser itself? i dnt have access to the code.
for installing live http headers,its just that i need to extract into plugins folder in mozilla ?