Hi,
I'm fairly new to struts and I'm having the following problem.

I want to display an error message in an js alert box. My understanding is
that I can't do that with </errors> because if wraps the error.header and
.error.footer around each message and does not have an attribute to disable
this behavior.

Therefore what I want to do is to get the message from
application.properties and then store it in the form bean. The problem is
that I can't figure out which class/method to use to read the message from
application.properties (from within my formAction). I'm looking for
something like this:

String messageText = messageContext.getMessage(messageKey);

Can anyone help?
Thanks
Markus


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to