This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
help about HttpServletResponse change header
Joined: Mar 16, 2007
Aug 22, 2011 15:27:32
I have a fly
to show in
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.
<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
problem when integrating jspell with tinyMCE editor
include navibar from external XHTML file
JQuery Selector Help needed
HTML generated by backing bean
how to embed pdf in html
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015