Why this IFRAME display its content in new popup window?


Joined
Apr 14, 2009
Messages
1
Reaction score
0
Hi,
I have designed a jsp (details.jsp)that is including two other jsp as below

<TABLE width="100%" height="100%" border="1" >
<TR>
<TD width="35%">
<jsp:include page="/WEB-INF/jsp/disbursement/pdfImage.jsp" />
</TD>


<TD width="65%" valign="top">
<jsp:include page="/WEB-INF/jsp/disbursement/reimbursementProcessor.jsp" />
</TD>
</TR>
</TABLE>

There is a IFRAME in pdfImage.jsp:

<IFRAME SRC="<%=request.getContextPath()%>/disbursement/Image.action"
TITLE="Reimbursement Documents"
WIDTH="100%"
HEIGHT="100%"
ALIGN="left"
FRAMEBORDER="0"
>
<!-- Alternate content for non-supporting browsers -->
<H2>Reimbursment Documents</H2>

</IFRAME>

"Image.action" is basically goes to DB, read some data and convert them into PDF bytes and write them in servlet response.
My problem is, when "details.jsp" is invoked with IE7, it works fine. It display all pdf images on left side of the page and its content on right side. (All are in same window) But when the same page is invoked with IE6, a new popup window appears that has all pdf images. Why does it behave like this in IE6? How do I solve this issue? It has to behave like IE7 in all browser version. Any guidence on this?
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top