The moose likes HTML, CSS and JavaScript and the fly likes How to Exit  from frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to Exit  from frame" Watch "How to Exit  from frame" New topic

How to Exit from frame

santhoshkumar samala
Ranch Hand

Joined: Nov 12, 2003
Posts: 156


I have developed an application in which there are four frames, header,left,right and footer. If any error occurs in the left frame content ex: if session expires/error occurs when I click on left pane then the error is showing only in left pane, cant i show this error in the complete main page? how can i exit from this left frame?

thanks in advance

santhosh<br />SCJP,SCWCD
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
It is only going to show in that one frame since that is the only thing that is posting back. You would have to basically add some JavaScript code to your error page that would replace the frameset.


It is sorta covered in the JavaRanch Style Guide.
subject: How to Exit from frame
It's not a secret anymore!