I have a JSP that uses frames inside frames. How can say to the browser to open the Error Page in the main frame (the topmost frame)?

Erik Runia

If the error page is being returned from a form post or get link (ie you have posted info to your servlet and the response is the error) then simply stick a target="topframename" into your <form tag and it will return the response into thte named frame in the target. If you want it to return the data to a new empty browser window set target="_new" or to the same browser but unload the frames and return error full screen set target="_top".