Hi
Your question doesn't seem clear enough. But from what I understand:
If suppose you want to display name property of the bean only if it is equal to say "John"(you know this value only in the action file), check this out in the action itself and set an attribute "name".
And in the
jsp use logic
resent for the attribute name.
Example
Action
if (bean.getName().equals("John"))
request.setAttribute("name", "yes")
JSP
<logic
resent name="name" scope="request">
<bean:write .......(name)
</logic
resent>
I am not sure if this is what you are looking for.
Lalitha