File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Jsp in src iframe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Jsp in src iframe" Watch "Jsp in src iframe" New topic

Jsp in src iframe

liliane fahmy

Joined: Aug 24, 2012
Posts: 22
How can I put jsp file in iframe?
The following code get error:
<iframe name="inlineframe" src="box.jsp"
frameborder="0" width="150" height="300" scrolling="no"></iframe>
what 's wrong although the path of the file is true??
please i want help
Antonio Rafael Rodrigues

Joined: Aug 25, 2012
Posts: 5
Hi Liliane.

I think that, regarding the html code, there are nothing wrong with it.
But, propably the path in the src property is wrong. Have a look in the source box.jsp, if it's really a valid path to your jsp.

liliane fahmy

Joined: Aug 24, 2012
Posts: 22
Thanks Antonio
I got the problem and it 's solved now
It is sorta covered in the JavaRanch Style Guide.
subject: Jsp in src iframe
Similar Threads
exernal file
can i control iframe using servlet
how to use .jsp file as src within IFRAME
JSP Invoking another JSP in Iframe
iFrame in xsl file