• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

There are no stupid questions !!

 
Vikrant Pandit
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • 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
 
Viji Elango
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can have.
 
Kishore Balla
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • 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
  • 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">
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic