File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Error Message

 
raj sekar
Ranch Hand
Posts: 79
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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>
</c:forEach>

Any help is appreciated.

Thanks,
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try specifying escapeXml="false" inside your <cut /> tag.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic