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?
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?