Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

always displaying login.jsp in the _top frame

 
Aleksey Matiychenko
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi we need to figure out a way to display our login.jsp for a web application always in the main frame. RIght now the login.jsp will always appear in the frame in which the protected resource is located.
Any ideas?
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Personally: Don't use frames. They're evil.
 
chanoch wiggers
Author
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can set a javascript that checks if the current frame is the top frame and if not set the src property of the top frame to equal the source of this one.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic