This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
<html> <body bgcolor="cyan"> <h1> This is a test of display <% </h1> </body> </html>
when we deploy this jsp in web server we get output like this
This is a test of display <%
Here < is entity ref to < symbol % is entity ref to % symbol
Joined: May 29, 2004
my solution to your problem is
<html> <!-- <body bgcolor="cyan"> <h1> This is a kishore test of display <% </h1> </body>
--> <!-- here < is a entity refer to < % is a entity refer to %
Thank you kishore batchu
Joined: May 23, 2004
ortimus, Thanks a lot. You are right, just using <\% should works, I tested on the Tomcat 5, working fine. The problem I met is the webserver of iplanet6.0, I will test on iplanet6.0 laster. But another question, how to you display <%@ include file="test1.jsp" %> to the screen as it is? I mean, how to escape <%@ sign in the jsp? I used <%\@ ... to test, not working. Waiting for you guys's reply!