Meaningless Drivel is fun!
The moose likes JSP and the fly likes NewBie Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "NewBie Question" Watch "NewBie Question" New topic

NewBie Question

Chaitanya Varanasi

Joined: Dec 09, 2004
Posts: 26
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

Joined: May 09, 2002
Posts: 20
hi chaityana
u need to just call
<c:if test="${alive}">

b.coz EL takes only attribute names and construct the get(is)MethodNames().

SCJP1.4 certified, IBM SOA Solution Designer[2007]
I agree. Here's the link:
subject: NewBie Question
It's not a secret anymore!