In properties file:
lastJDBCError.value={0}

Then construct the error message with the exception text as the first replacement value.

David



From: "Arunachalam Jaisankar" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: changing ApplicationResources.properties runtime
Date: Fri, 28 Feb 2003 18:40:32 +1300

Hi All,

I've a column "lastJDBCError.value" in ApplicationResources.Properties
file.
And I want to change the value of that column in run time, i mean whenever I
get an SQL Exception I want to fill "lastJDBCError.value" with that
Exception.


Is it possible to change run time? If yes, kindly let me know how to do
that.

regards
Jai


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


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus



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



Reply via email to