• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NewBie Question

 
Chaitanya Varanasi
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai ,
I have a Boolean function "isAlive" in the bean class . now i want to use the boolean function in the JSP page using the EL.
this code is not working

<c:if test= "${isAlive}">

how do i call the Boolean Functions using the EL. Please do reply me in the regard as it is very very very urgent.

 
Nandkishore Dhilde
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi chaityana
u need to just call
<c:if test="${alive}">

b.coz EL takes only attribute names and construct the get(is)MethodNames().
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic