struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rama Krishna" <>
Subject Re: How to Create an ActionError with a text message
Date Wed, 22 Aug 2001 22:31:56 GMT
may be not. as far as i know. but you can have a work around having one
general key and some default value and pass in a replacement value in
ActionError constructor
so all u r classes can use the same key but replace the default value. this
way u can use <html:errors/>

hope this helps,

----- Original Message -----
From: "Rajan Gupta" <>
To: <>
Sent: Wednesday, August 22, 2001 3:12 PM
Subject: How to Create an ActionError with a text message

> ActionError normally takes a key to a property in ApplicationResources
> file. But I would like to report errors without putting all the errors in
> the properties file.
> I would like to continue to use the <html:errors/> tag.
> Is there a way of reporting errors from an Action which can be reported by
> <html:error/> without putting the message string in the resource?
> Thanks for your help,
> Rajan
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger

View raw message