Originally posted by sweta naidu: try this.. <html:messages id="msg" message="true" > <bean:write name="msg"/> </html:messages>