*
The moose likes JSP and the fly likes JSP and IFrames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP and IFrames" Watch "JSP and IFrames" New topic
Author

JSP and IFrames

dennis zined
Ranch Hand

Joined: Mar 07, 2003
Posts: 330
Hi all. I have a JSP page that has an IFrame which contains another JSP page. Is it possible for the JSP page, contained within the IFrame, to pass its formbean to its parent JSP page?

thanks.


SCJP 1.4<br />SCWCD 1.4
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

No, frames, as far as the server is concerned are separate webpages.
Beans only exist on the server, not the client.

What you can do (with modern browsers) is create a javascript object and pass that from one frame to another.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP and IFrames
 
Similar Threads
change the iframe height dynamically in a jsp page
Session Time Out
access a parent's form in an iframe
How exit from Iframe
How Display image in a JSP that retrieved from a database?