|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have a JSP in which I have an iframe tag.
Can I give <jsp:include page="xyz.jsp"> as the value of source for the <Iframe> tag. Means <IFrame src="<jsp:include page='xyz.jsp'>" width="400" height="600" scrolling="no" frameborder="1"> </IFrame> Can this be done?? Remember xyz.jsp must work like <jsp:include page/> in a file ABC.jsp. Actually xyz.jsp contains an image on which I want to zoom but i dont want any other content in my main ABC.jsp to be refreshed. |
|
#2
|
||||
|
||||
|
It's a late answer, I know, but this subject is so interesting. Probably you have
found the solution by now, but others could be interested. Thanks to google, I've found the blog of Sam Dalton. And this is what he writes about iframes. Quote:
More info can be found at http://www.samjdalton.com/pebble/2003/09.html. |
|
#3
|
||||
|
||||
|
I think to answer the original question, no I don't think that would work.
Why not simply do: <IFrame src="xyz.jsp" width="400" height="600" scrolling="no" frameborder="1"> I guess it depends on what is within your xyz.jsp file. gertcuppens: I imagine the only reason that code is labelled as IE3+ is because of the height using percentage. If I remember correctly, Netscape and similar browsers don't render this properly. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Java Development > Jsp |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|