struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trieu, Danny" <DTr...@downeysavings.com>
Subject RE: Declarative exception handling
Date Thu, 26 Sep 2002 21:54:21 GMT
No .. You can use Action.Globals.EXCEPTION_KEY to get it from the request ..


-----Original Message-----
From: Galbreath, Mark [mailto:Galbreath@tessco.com] 
Sent: Thursday, September 26, 2002 2:52 PM
To: 'Struts Users Mailing List'
Subject: RE: Declarative exception handling


I'm not certain, but wouldn't the exception be in ActionErrors?

-----Original Message-----
From: Juan Alvarado (Struts List) [mailto:juan_alvarado@manduca.com]
Sent: Thursday, September 26, 2002 5:43 PM

Does anyone know of a way to include the exception message in the body of an
error page one has declared in the global-exceptions section of
struts-config.xml

EX:

 <!-- Global Exceptions -->
  <global-exceptions>
	<exception 	key="general.exception" type="java.lang.Exception"
path="/admin/failure.jsp"/>
  </global-exceptions>

I want to be able to display the exception message in /admin/failure.jsp

I did not find anything on the archives on this.

Thanks

**********************************************
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
jalvarado@manduca.com
AOL Instant Messenger: juan2000@aol.com


--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message