This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
 
Have you checked out Aspose?
 
subject: JSP and IFrames
 
jQuery in Action, 3rd edition