Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
    Bookmark Topic Watch Topic
  • New Topic

Links in properties file

vinitha simon
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Report post to moderator
I have a properties file containing several key value pairs, I need to display one at a time, based on the request, some of the messages have links in them. I'm unsure how to implement links inside properties file, because in my jsp, I'm using struts2.0 to retrieve the value... when I read the value, ,I see the entire content on the jsp, not the link....

key1 = here is the <a href="sample.html">link</a>

in jsp

<s roperty value="getValue()"/>

the final output :

here is the <a href="sample.html">link</a>

Any help is appreciated.

    Bookmark Topic Watch Topic
  • New Topic