• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

There are no stupid questions !!

 
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a question that seems to be a bit stupid ...

Can we use yes/no instead of true/false while specifying values for rtexprvalue and required elements in a TLD ?

I saw this in a book "Java Server Pages" by Hans Bergsten
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, you can have.
 
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes|true

http://java.sun.com/products/jsp/tutorial/TagLibraries11.html
 
Kishore Balla
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Now I doubt whether my previous reply was correct or not..

In latest specs (JSP 2.0), It was mentioned that rtexprvalue will take boolean. So, I doubt yes|no will work or not. (I will check this when I get back home)

<xsd:element name="rtexprvalue" type="j2ee:generic-booleanType" minOccurs="0">
reply
    Bookmark Topic Watch Topic
  • New Topic