Hey! I am having the same issue. 
Have you found out a solution for it by any chance?

Your help is greatly appreciated.

Bhuwan.


M.Liang Liu wrote:
> 
> Hi,all:
> I would like to add header and footer to the actionerrors so as to it can
> display in the way my client like.
> In Struts1.2,i can just put the following code in the properties file:
> ----------------------------------------------------------------------------------------------------
> errors.header=<table class="warning"><tr><td>
> errors.prefix=<li>
> errors.suffix=</li>
> errors.footer=</td></tr></table>
> ----------------------------------------------------------------------------------------------------
> and it could work as I excepted.
> Now i am trying to use struts2,but it can NOT work in the same way.
> 
> Any help?
> 
> 
> btw,I have put the code in the globalMessages.properties and put the file
> in
> the classpath,as well as defined the struts.xml as:
> <constant name="struts.custom.i18n.resources" value="globalMessages" />
> 
> Thanks for reading and looking forward to any reply.
> 
> -- 
>               ------M.Liang Liu
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-format-the-actionerrors-and-actionmessages-in-the-jsp-page--tf4157146.html#a11848528
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to