StrutsException

HomePage | RecentChanges | Preferences

In struts-config.xml:

    <global-exceptions>
          <exception
                key="error.dao.exception"
               type="edu.asu.vpia.dao.DAOException"
               path="/WEB-INF/jsp/error/daoException2.jsp"/>
    </global-exceptions>

Here you _can_ use tiles defs in the 'path' attribute, because these are handled within Struts.

Again we're starting with code like this...

   try { 
     ....
   } catch ( Exception ex ) {
         throw new DAOException( ex ) );
   }


HomePage | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited February 25, 2005 9:17 am by WendySmoak (diff)
Search: