• Post Reply Bookmark Topic Watch Topic
  • New Topic

c:out JSTL tag of the core libaray of general purpose

 
muthu moorthy
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont find the explanation about thig tag. It would be great if any one of you explain about this tag.
 
muthu moorthy
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sorry guys, i meant to say i dont find much about this tag in HF book, though it is listed one of General purpose in Core Library.

Thank you
 
Daniel Dalton
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
c ut is used for writing stuff to the output stream. See c :-o ut. JSP 2.0 supports the EL expression language natively, so you can just stick expessions straight into your JSPs like

for instance. Prior to JSP 2.0, c ut is very useful because it allows you to avoid resorting to scripting so you can put
in your JSP.

Does that help at all?
 
Rohitt Vermaa
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you have to got through JSTL Specs for all the tags.
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

check code above this is all what you need to know about c ut.
 
Manikandan Jayaraman
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the Specs ...



Syntax Without a body
<c ut value=�value� [escapeXml=�{true|false}�] [default=�defaultValue�] />

With a body
<c ut value=�value� [escapeXml=�{true|false}�]>
default value
</c ut>

escapeXml -> Deterrmines whether characters <,>,&,�,� in the resulting string should be converted to their corresponding character entity codes. Default value is true.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!