struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Weber <erikwe...@mindspring.com>
Subject Re: Propagating errors from a PlugIn to a jsp
Date Mon, 28 Feb 2005 17:47:13 GMT
Your plugin could set application scope attributes using any Exceptions 
it encounters during the init method. Then your requested JSP (or setup 
Action) could grab those and iterate them.

Erik


Alistair Young wrote:

> Is there any way for a PlugIn to get exception messages up to a jsp?
>
> I have a PlugIn that initialises a system object that does important 
> work. If the PlugIn can't start the background process running, I'd 
> like to use <html:errors /> in the index.jsp, so when Tomcat starts, 
> the first page will display any errors the PlugIn encountered.
>
> thanks,
> Alistair
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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


Mime
View raw message