Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

JSTL  RSS feed

 
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i worked with JSTLs i opened TLD files.i have seen <rtexprvalue> tag.what is that?
<attribute>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
 
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It stands for "RUN-TIME EXPRESSION VALUE"
It's value determines whether the attribute can be a JSP expression or not.
 
Author
Posts: 836
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rtexprvalues are complicated a little by the different JSP versions; prior to JSP 2.0, the expression language wasn't understood natively by the container - only the JSTL 1.0 EL library (which provides its own EL parser) used and supported it.

So, in a pre-JSP 2.0 container, rtexprvalues determine whether JSP scripting elements (of the form <% ... %> or one of the JSP document alternative elements) can be used for attribute values.

As of JSP 2.0, rtexprvalues also include EL expressions, which are now natively understood and parsed by the container. Hence, attempting to use either a JSP scripting element or an EL expression in an attribute whose rtexprvalue is false will lead to a translation error.

If you are using a pre-JSP 2.0 container, use the 1.0 version of JSTL (containing two libraries, RT and EL). Otherwise, use the 1.1 version of JSTL (which has only one common library).
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!