Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

Links in properties file  RSS feed

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
Boost this thread!