You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Carl Smith <cc...@yahoo.com> on 2005/12/23 22:11:38 UTC

ActionMessage display html tag on the jsp

  I am using ActionMessage:
   
   
  actionMessages.add(ActionMessages.GLOBAL_MESSAGE,
  new ActionMessage("message.key",
  parameter1,parameter1,parameter2,parameter3));
  saveMessages(request,actionMessages);
   
  parameter3="<ul><li>Thank you!"
   
  However on my jsp I see <ul><li>Thank you!, <ul><li> html tag shows on jps?
   
  Can anyone let me know how to let the html tag take effect?
   
  Thanks and happy holidays!
  
  
  


		
---------------------------------
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.

Re: ActionMessage display html tag on the jsp

Posted by RathinaGanesh MeenakshiSundaram <ra...@gmail.com>.
Set the filter="false" on jsp.
Like this...

<bean:write name="message" filter="false"/>

Thanks,
Ganesh!

On 12/23/05, Carl Smith <cc...@yahoo.com> wrote:
>
>   I am using ActionMessage:
>
>
>   actionMessages.add(ActionMessages.GLOBAL_MESSAGE,
>   new ActionMessage("message.key",
>   parameter1,parameter1,parameter2,parameter3));
>   saveMessages(request,actionMessages);
>
>   parameter3="<ul><li>Thank you!"
>
>   However on my jsp I see <ul><li>Thank you!, <ul><li> html tag shows on
> jps?
>
>   Can anyone let me know how to let the html tag take effect?
>
>   Thanks and happy holidays!
>
>
>
>
>
>
> ---------------------------------
> Yahoo! Photos
> Ring in the New Year with Photo Calendars. Add photos, events, holidays,
> whatever.
>