aspose file tools
The moose likes JSP and the fly likes JSP and IFrames Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JSP and IFrames
 
Similar Threads
How Display image in a JSP that retrieved from a database?
Session Time Out
How exit from Iframe
change the iframe height dynamically in a jsp page
access a parent's form in an iframe