• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

c: if test"testCondition"

 
Frank Jacobsen
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if test"testCondition"

I all examples i have seen the word after if is test, cant this word be anything or is it allways test="testCondion", could it be trueorfalse="testCondition" ???

Frank

 
Daniel Dalton
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. the <c:if> tag is part of the JSTL core library and it has a mandatory attribute named test.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic