Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSF
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
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
Paul Clapham
Ron McLeod
Jeanne Boyarsky
Tim Cooke
Sheriffs:
Liutauras Vilda
paul wheaton
Henry Wong
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Carey Brown
Frits Walraven
Bartenders:
Piet Souris
Himai Minh
Forum:
JSF
Change title (IE7.0 now, IE8 later) instead of URL
Sam Sunamin
Ranch Hand
Posts: 113
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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");
<ui:define name="mainBody"> <div id="pdf"> <object width="400" height="500" type="application/pdf" data="/test.pdf?" id="pdf_content"> <p>Error occurred when PDF file was retrieved.</p> </object> </div> </ui:define>
Anyone can help me to solve the problem?
Thank very much in Advance.
Yours Sam<br />SCJP5.0 97%<br />SCBCD5.0 72%
Sam Sunamin
Ranch Hand
Posts: 113
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I got HttpServletResponse as response in UI Bean and use
response.setHeader("TITLE","TEST PDF");
to change title.
However it does not work.
Help me out, please!!!
Yours Sam<br />SCJP5.0 97%<br />SCBCD5.0 72%
Not looking good. I think this might be the end. Wait! Is that a tiny ad?
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
help about HttpServletResponse change header
problem when integrating jspell with tinyMCE editor
include navibar from external XHTML file
Problem with YUI tabs while populating pdf's
Can you read this?
More...