Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Escape seq...

 
R Sawant
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Code : -


The out put i am getting with Tomcat4.x is -
"The opening tag of a scriptlet is"
instead of -
"The opening tag of a scriptlet is <%The closing tag of a scriptlet is %>"

Please explain
Ramdas.
 
Murali Mohan A
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even I had got this problem. Does anyone explain why?
 
Mahalakshmi YagnaSankar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
When in html < and > have to be used like '& lt;' and '& gt;' and similary for apos , quot , etc. These are "Special" Character Entity References.
So when tried with these ref I got the desired o/p.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!