Yes, it works fine with both JSTL and Struts tags. (he said after hurriedly double checking) :-)
public class Person { private boolean selected = false; public boolean isSelected() { return selected; } public void setSelected(boolean selected) { this.selected = selected; } } Set in request as "person"... <c:out value="${person.selected}"/> <bean:write name="person" property="selected"/> Post some code if you're still having problems. Steve > -----Original Message----- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: June 29, 2003 8:20 PM > To: 'Struts Users Mailing List' > Subject: RE: Sturts - Custom Tags and limitations > > > Steve wrote: > > No, isHuman()is an acceptable name for a getter. > > getXXX, setXXX and isXXX (for boolean properties) are all valid. You can > > also use indexed properties getXXX(int i) etc. > > http://java.sun.com/products/javabeans/docs/spec.html > > Have you sucessfully gotten Struts/JSTL to recognize the 'is' methods? My > brief attempt was unsuccessful. When I get one of those round > tuits, I will > try it again. Meanwhile, I stick to get/set methods and all is well. > > -- > Wendy Smoak > Arizona State University > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]