display java code on jsp

cool9292 <[email protected]>
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <15317161.1148273104581.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
i tried to use actionmessages to display result back to my jsp.

my java code looks
this.addActionMessage("Update Successful");		
return SUCCESS;

my jsp code looks

<ww:if test="hasActionMessages()()"> 
    <tr> 
	  <td width = "40%" class = "generalMessageText">&nbsp;</td>
      <td width = "60%" class = "generalMessageText">Messages:</td>
    </tr>
    <ww:if test="getActionMessages()"> <ww:iterator value="messages"><ww:iterator value="value"> 
    <tr> 
	  <td width = "40%" class = "generalMessageText">&nbsp;</td>
      <td width = "60%" class = "generalMessageText"><ww:property/></td>
    </tr>
 </ww:iterator> </ww:iterator> </ww:if> </ww:if>

however, it does not display anything.  did i do anything wrong??
thanks for any help
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=31799&messageID=61504#61504

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.