Hai Lin,
Just now registered in
java ranch.
i seen your code.
I got one solution for your problem.
my solutions for your problem
in Example.jsp
---------------
<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
Thanks
kishore