wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts Error Message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Error Message" Watch "Struts Error Message" New topic

Struts Error Message

raj sekar
Ranch Hand

Joined: Mar 11, 2002
Posts: 79
I want to display a link in the Struts error message.
and tried the below code but it didn't parse the html tag.

In the application.properties

error.changePwd=Click the link to change the password <a href\="http://localhost/app/changepwd.do> Password Change </a>

Login page:

<c:forEach var="err" items="${errors}">
<tr><td colspan="2"><font class="error"><c ut value="${err}"/></font></td></tr>

Any help is appreciated.


You do what you love, love what you do and always deliver more than you promise
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Try specifying escapeXml="false" inside your <cut /> tag.

Consultant, Sima Solutions
I agree. Here's the link: http://aspose.com/file-tools
subject: Struts Error Message
Similar Threads
Visualizing Struts Froms
Internationalization login thru to...
Validate() method of ActionForm
using Multiple submit buttons.
html:img NullPointerException