title: Not able to display special characters properly in a JSP page
body: <p>I need to display following special characters in a table TD (exclude the back slash in between &lt; symbol and forward slash),</p>
  
  <p><strong>1)</strong> <code>'/&lt;\/@/test#/$/&amp;/)'</code></p>
  
  <p>But, the browser is able to display only '/
  i.e, data is getting truncated.</p>
  
  <p>The above issue occurs only when &lt; and / chars occur contiguously.</p>
  
  <p>That is, following works as there is no succeeding forward slash / after the &lt; symbol</p>
  
  <p><strong>2)</strong> <code>'/&lt;@/test#/$/&amp;/)'</code></p>
  
  <p>I am using java code to escape the other special chars.
  I am able to successfully replace &lt; with ampersand lt; but how to replace a forward slash / only when &lt; and / appear together.</p>
  
  <p>Please help me</p>
  
  <p>Sorry, even in this website you cannot see what i need to achieve, hence in Point 1 exclude the back slash (I need to display without the backslash, for ur understanding i have put it). I cannot post images as i am a new user.</p>