Hey Brandon,

  That's a weird report. I never had problems doing so with Struts 1.1.
What i do is:
  1) In my exception jsp page, i use <html:errors/> tag.
  2) Add an entry to the resource bundle (application.properties)
  3) Add the declarative exception handling in my action mapping, like bellow:
     <action path="/userRegistration"
             type="com.foo.bar.UserRegistrationAction"
             name="userRegistrationForm"
             input="/userRegistration.jsp">
        <exception type="java.sql.SQLException"
                   key="userRegistration.sql.exception"
                   path="/userRegistrationException.jsp" />
        <forward name="success" path="/regSuccess.jsp" />
        <forward name="failure" path="/regFailure.jsp" />
     </action>

  Hope this can help you to figure out what is going on.
  I didn't use struts 1.2 and later versions yet so i can't guarantee that 
works on them.

Cheers,
 Daniel Silva.

--- Brandon Goodin <[EMAIL PROTECTED]> wrote:

> I am trying to display an exception caught by the Struts declarative
> exception handling. I have tried to use the html:errors and
> html;messages tags with no sucess. Does anyone have a sample they can
> post on how to extract the exceptions that are being stored in the
> ActionErrors?
> 
> Brandon
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to