This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Servlets and the fly likes help about HttpServletResponse change header Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

help about HttpServletResponse change header

Sam Sunamin
Ranch Hand

Joined: Mar 16, 2007
Posts: 113
Hi All,

I have a fly pdf to show in jsf file.
I got HttpServletResponse as response. Right, the title will show URL which I don't what to.

I want to show other title like "TEST PDF".

I tried this, however, it does not work.

response.setHeader("TITLE","TEST PDF");



Anyone can help me to solve the problem?

Thank very much in Advance.


Yours Sam<br />SCJP5.0 97%<br />SCBCD5.0 72%
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19691
    
  10

This post is an exact copy of this other post. It's better to just ask once: read CarefullyChooseOneForum which explains why. I'm going to close this one, conversation should continue in the other post.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help about HttpServletResponse change header
 
jQuery in Action, 3rd edition