Can JSTL or built-in
jsp tags be used to implement functionality similar to the
Struts logic tags? Here's what I want to do...
I've set a bean as a request attribute (called "featureBean"), which I'm accessing in my jsp via the jsp:useBean tag. I want to make a chunk of html dependent on the value of a boolean field of "featureBean".
I can't do this using a jsp:getProperty tag, because it's not a body tag. I could use an expression like featureBean.getBoolean() in a scriptlet; but I'm trying to avoid jsp scriptlets.
Can I do this using built-in jsp tag functionality or a jsp expression? Can I do it using JSTL?
Thanks for your thoughts!