I have a framed JSP application and would like to make it so pages meant to be viewed as a frame can only be viewed as a frame.

Alexander Zynevich

It is possible if you can use window.top and window.parent properties in JavaScript. For top window, window.top == window and window.parent == null. If so, you could then load main frame into browser window.