struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel" <>
Subject Tiles and ActionMessage
Date Wed, 18 Feb 2004 20:34:57 GMT
Someone know if there are some problem with tiles and messages(errors) I'm using at Action
file (just code parts ) :

  ActionMessages messages = new ActionMessages();

  ActionMessage message = new ActionMessage(e.getMessage()); //at the catch
  messages.add(ActionMessages.GLOBAL_MESSAGE,message);//at the catch

//out of try catch

  if (!messages.isEmpty()) { 


 return (mapping.findForward(mapping.getInput()));

   else {

    return mapping.findForward("sucesso");


and ate the jsp file :

<html:messages id="msg" message="true">

<bean:write name="msg" />


but the error message don't show, I made one test without tiles and work ok with the same

code, what should be ?????

Daniel S.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message