Hello everybody, Can anyone please tell me that how can I generate locale-specific messages using commons-logging API in struts. Please help me. It's very urgent. Thanks
posted 14 years ago
what do you want to make locale-specific? the language, the dates, the times? If you want to use different languages, you'll need to use the utils.MessageResources class and put your logging strings in property files. Just a caveat - it might make difficulties when you get an error on the property files - you won't be able to log anything.
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.