Struts Iframe Exception

C

chris.boersma

I'm trying to handle some exceptions in struts. The page that I have
has 2 iframe's which are displaying content from 2 actions.

The exceptions happen in either of these 2 iframes, but I want the
parent to transfer to the error page and not the iframe's themselves.

I have a global exception setup
as follows:

<global-exceptions>
<exception
key="data.error"
type="java.sql.SQLException"
path="/WEB-INF/pages/Error.jsp"/>
</global-exceptions>

but when the exception get's thrown the iframes are merely transfering
to this page and showing a page inside a page.

Is there anyway to specify the target as the parent element before the
transition happens?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top