Hi,
I have the folloing jsp file:
The screen is divided in two screens:
- logo.html (that will never change) and
- login.jsp
The login.jsp file will then call another page, that will call another page, etc.
In each page, there is a link to the page before.
My problem is as follows:
When the user clicks "exit", the exit.jsp file is called.
The exit.jsp file does a few things (among them: close session, etc.) AND calls again the login.jsp file
and ....Another iframe is then opened!!! within the old one.
I mean that in the frame that initially contained "login.jsp", a new frame is opened that contains "login.jsp".
Obviously, I don't want that. I want the frame that contains the login.jsp file to be closed and the new frame with login.jsp opened.
How can I do it?
THanks
I have the folloing jsp file:
Code:
<iframe src="includes/logo.html" width="100%" height="100"
scrolling="no"
marginwidth="0" marginheight="0">
</iframe>
<br>
<iframe src="login.jsp" width="100%" height="450"
marginwidth="0" marginheight="0">
</iframe>
The screen is divided in two screens:
- logo.html (that will never change) and
- login.jsp
The login.jsp file will then call another page, that will call another page, etc.
In each page, there is a link to the page before.
My problem is as follows:
When the user clicks "exit", the exit.jsp file is called.
The exit.jsp file does a few things (among them: close session, etc.) AND calls again the login.jsp file
Code:
<jsp:forward page="login.jsp" />
and ....Another iframe is then opened!!! within the old one.
I mean that in the frame that initially contained "login.jsp", a new frame is opened that contains "login.jsp".
Obviously, I don't want that. I want the frame that contains the login.jsp file to be closed and the new frame with login.jsp opened.
How can I do it?
THanks