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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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.
 
Sheriff
Posts: 28394
100
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.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic