This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes always displaying login.jsp in the _top frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "always displaying login.jsp in the _top frame " Watch "always displaying login.jsp in the _top frame " New topic
Author

always displaying login.jsp in the _top frame

Aleksey Matiychenko
Ranch Hand

Joined: Apr 03, 2001
Posts: 178
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

Joined: Mar 06, 2001
Posts: 13459

Personally: Don't use frames. They're evil.
chanoch wiggers
Author
Ranch Hand

Joined: May 24, 2001
Posts: 245
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.


chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: always displaying login.jsp in the _top frame
 
Similar Threads
Http status 404 resource not available
Forwarding responses to frames
How do you make a frame 'Always on Top'?
System Modal Frame