Hi,

Want to expose a message in my action:

In my action I have:
throw new Exception("I have an error"); 

want to use message resource:

message.error="I have an error"  (in applcation.properties)


throw new Exception(message.error);   (I know this doesn't work directly)


Not sure how to set this up.

Appreciate a code example suggestion.

Thanks,
Barry

Reply via email to