Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

help about HttpServletResponse change header

 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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.
 
Marshal
Posts: 28226
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
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.
    Bookmark Topic Watch Topic
  • New Topic