Only 49 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jstl c:if test conditions  RSS feed

 
Paul D Lachance
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

does anyone know where to find a detailed specification of jstl core tags? the JSTL 1.1 API Javadocs are not very useful... For example, I am looking for information about which test condition syntax can be used in a <c:if and the API only mentions that there is a 'test' attribute that returns a boolean... (gee thanks!) There is no information at all about what test conditions can be used. Everything I have found so far has come from code examples but it would be great to have a comprehensive source describing the attributes in jstl tags.

thanks in advance
Paul
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a link to the spec
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If what you mean by "test conditions" is what I think you mean, you'll need to look into the EL chapter of the JSP specification. As of JSP 2.0, EL is part of JSP, not JSTL.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!