A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
help about HttpServletResponse change header
Joined: Mar 16, 2007
Aug 22, 2011 15:27:32
I have a fly
to show in jsf file.
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.
<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%
Joined: Oct 14, 2005
Aug 22, 2011 15:40:24
This post is an exact copy of
this other post
. It's better to just ask once: read
which explains why. I'm going to close this one, conversation should continue in the other post.
I agree. Here's the link:
subject: help about HttpServletResponse change header
HTML generated by backing bean
problem when integrating jspell with tinyMCE editor
include navibar from external XHTML file
Change title (IE7.0 now, IE8 later) instead of URL
JQuery Selector Help needed
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014