struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mississippi John Hurt" <johnh...@gmail.com>
Subject Can general error/exception page point to a struts action?
Date Thu, 21 Sep 2006 17:36:15 GMT
Can the "path" below map to a struts action?

<global-exceptions>
    <exception key="error.general"
              type="java.lang.Exception"
              path="/error.jsp"/>
</global-exceptions>

That way I can route to an errorAction that logs all the details with
a unique key, then display just a simple general message with unique
key to the user that they can give helpdesk if they call.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message