This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes How to display EL Sintax and HTML Sintax in a JSP page? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to display EL Sintax and HTML Sintax in a JSP page?" Watch "How to display EL Sintax and HTML Sintax in a JSP page?" New topic
Author

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

pedro abs
Ranch Hand

Joined: Mar 25, 2010
Posts: 33
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

Joined: Jan 10, 2002
Posts: 60789
    
  65

For EL, escape the $ with a \.

For HTML, use HTML entities for the < and >. For example: &gt;

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
pedro abs
Ranch Hand

Joined: Mar 25, 2010
Posts: 33
Tks, and for HTML? How can I display HTML sintax in my JSP page?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60789
    
  65

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

Joined: Mar 25, 2010
Posts: 33
Thanks and sorry for my distraction !
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60789
    
  65

No problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to display EL Sintax and HTML Sintax in a JSP page?
 
Similar Threads
how to call the html form
Embedding swings in HTML page
Display image in JSP
how to make a .html document....
how to display html email? thanks!