Win a copy of Murach's Python Programming this week in the Jython/Python 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....

sample.properties

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.

TIA
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!