struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From delbd <>
Subject bean:write and property editor
Date Thu, 03 Mar 2005 15:42:02 GMT
On an error jsp page, i get from a bean a collection of messages send by the 
process which lead to the error. One of the informations is the Throwable 
which produced the error.

I want the jsp to show the stack trace. I tried to use

<bean:write name="error" property="throwable"/>

(which call error.getThrowable())
But all i get is the throwable message, not the stacktrace.
I saw bean:write uses the propertyeditor of the property to render it's 

My question is, how can i register a propertyeditor for all Throwables so i 
can implement the getAsText() method?

Thanks for help.

David Delbecq
Royal Meteorological Institute of Belgium 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message