• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to cancel the frameset with a call jsp:forward?

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello personal, my problem and the following:
1 - I have a site that has three screens.
login--> menu (that uses frameset)
2 - to the logar, I set up the menu. Among the options, when I will register for instance something, I am verified the session expired, in case it is true, I call the login again. The problem that the login and setting up in the frameset of the menu and no the page full of the login.
Question:
1 - the possibility exists of attributing a global variable, where all of the pages get to see this value. In case if possible, how to catch this value.
2 - or it exists some command that me puddle to attribute the jsp:forward close to, to cancel the frameset and to go for the original page.

Thankful for the help
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"S�rgio"-
Welcome to the JavaRanch! Please adjust your displayed name to match the JavaRanch Naming Policy.
You can change it here.
Thanks! and again welcome to the JavaRanch!
 
Ronald Francis
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not Sure if this is what you want , but u can use Javascript that executes "onLoad" of your page to check if its the top frame or not

if (window.top != self)
{
window.top.location = "/mylogin.jsp";
}
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!