• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to display EL Sintax and HTML Sintax in a JSP page?

 
pedro abs
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I want to display Expression Language Sintax ${.....} in a JSP page. How could I accomplish this?

I want to know the same for html content? How can I display HTML Syntax in a JSP Page without the browser render it?

Thanks !!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For EL, escape the $ with a \.

For HTML, use HTML entities for the < and >. For example: &gt;
 
pedro abs
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tks, and for HTML? How can I display HTML sintax in my JSP page?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
pedro abs wrote:Tks,

Please use real words like "thanks" when posting to the forums. Thanks.

and for HTML? How can I display HTML sintax in my JSP page?

I already answered that.
 
pedro abs
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks and sorry for my distraction !
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic