• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to bypass html tags in JSPs while using struts?

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Look at the following piece of code:
<display:table name="vList">
<display:column property="sProperty" title="Data Types"
href="someURL" paramId="NodeKey" paramProperty="sValue">
</display:table>
This works extremely fine, but for the following input:
Say sValue is = <a href="http://www.javaranch.com">Java Ranch</a>
On click of the displayed value (sValue) - Java Ranch, it takes to the JavaRanch Url, rather than the href="someURL". The need here is to bypass '<' and '>' in anchor (<a> tag by replacing them with < and >. Is there a way to do this in display: table tag OR any other means so that href="someURL" is retained?
Thanks in Advance.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic