struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alistair Young" <alist...@smo.uhi.ac.uk>
Subject Re: Propagating errors from a PlugIn to a jsp
Date Mon, 28 Feb 2005 19:12:41 GMT
thanks for that Erik,
I think I'll bung some Bean methods into the PlugIn and do a small tag
library for JSPs to use. I don't want any code in the JSP, just tags.
thanks,
Alistair


-- 
Alistair Young
Senior Software Engineer
UHI@Sabhal Mòr Ostaig
Isle of Skye
Scotland

> 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
>
>


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


Mime
View raw message