An easy way would be to have a field in the JSP that corresponds to a 
field in your ActionForm.
The you just put your message into the form field.

For instance I often display debugging information using a hidden field 
and I set write="true" when I want to debug....
eg I am running database queries and the record's id is not displayed on 
the JSP but I can display it for debugging with a line like:

<html-el:hidden property="id" value="${requestScope.myForm.id}" write="true"/>
 
You could do something similar, and if you stick to using the form in this 
way you won't have messy parameters on the request.

HTH.

Heya






Otávio Augusto <[EMAIL PROTECTED]>
07/01/2004 02:47 AM
Please respond to "Struts Users Mailing List"

 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        messages


I'm able to send error messages to my jsp whenever needed. but how to i 
send confirmation messages (for instance "Your mail has been sent") ? is 
there a way similar to the ActionErrors method?

thanks 


Otávio Augusto

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



Reply via email to