This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 15376
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.


I agree. Here's the link:
subject: How to Exit from frame
Similar Threads
Closing FileDialog
doubt in frames
how to set focus?
Problems using JTree and JTabbedPane
Form Html to Frames JSP