Action.ERROR_KEY is deprecated as of 1.1.  Use Globals.ERROR_KEY instead.

David






From: Angie Lin <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: Action.ERROR_KEY versus ActionErrors.GLOBAL_ERROR
Date: Tue, 14 Jan 2003 14:44:15 -0800

When should one be used over the other? (1.1b2, weblogic6.1)

I started off by doing all my exception handling within my Actions and setting generic errors with ActionErrors.GLOBAL_ERROR.

However, I'm migrating to declarative exceptions and the default ExceptionHandler uses Action.ERROR_KEY.

I can easily modify all my jsp's to look for Action.ERROR_KEY instead, but I'm curious when one should be used over the other?

Thanks,

--
Angie Lin
[EMAIL PROTECTED]



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

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail


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

Reply via email to