Two Laptop Bag*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Template Text 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 » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Template Text" Watch "Template Text" New topic
Author

Template Text

Vineela Devi
Ranch Hand

Joined: Dec 20, 2003
Posts: 191
Hi,
Can anyone pls tell me what is template text?

Thanks in Advance
Vineela
Kumar J
Ranch Hand

Joined: Feb 13, 2005
Posts: 35
Hi,
Things that are not within any of the < > (less than and greater than) are temlate texts.
So that exclude all html tags,EL's,action elements,JSTL's,custom tags

got it !!!



With Regards,<br />Kumar J
Vineela Devi
Ranch Hand

Joined: Dec 20, 2003
Posts: 191
Hi,


Do u mean to say tht "Welcome to JavaRanch" is template text in the above code?
Correct me if Iam wrong

Vineela
Venkatraman Kandaswamy
Ranch Hand

Joined: Jul 07, 2004
Posts: 120

This is a template text. Now ${greeting} can take any value :
welcome to javaranch
welcome to micro$oft


--Venkatraman<br />SCJP 1.4<br /><a href="http://kvrlogs.blogspot.com" target="_blank" rel="nofollow">blog</a>
Kumar J
Ranch Hand

Joined: Feb 13, 2005
Posts: 35
Hi,
Refer to the JSP 2.0 specs...

...JSP.2.2.2 Expressions and Template Text
The EL can be used directly in template text, be it inside the body of a custom or
standard actions or in template text outside of any action...

...JSP.1.9 Template Text Semantics
The semantics of template (or uninterpreted) Text is very simple: the template
text is passed through to the current out JspWriter implicit object, after applying the
substitutions of Section JSP.1.6, �Quoting and Escape Conventions�...


Apart from what I told,you can have EL as part of template text.


Kumar V
Gavin Zhao
Greenhorn

Joined: Apr 29, 2004
Posts: 11
except java code,else is template text


Impossible Is Nothing!
 
jQuery in Action, 2nd edition
 
subject: Template Text
 
Similar Threads
template Text
template text
Javascript in jsp
HFSJ-Final Mock Exam
Template text