aspose file tools*
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
Author

NewBie Question

Chaitanya Varanasi
Greenhorn

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
Greenhorn

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: http://aspose.com/file-tools
 
subject: NewBie Question