If, as in your example, the value you want to compare is a simple String, use only the name attribute. If it is a property of a bean, use the name attribute for the bean name, and the property attribute for the bean property.
So, in your example the tag would look like this:
<logic:greaterThan name="myValue" scope="request" value="9"> // do whatever </logic:greaterThan>
Let me say, though, that I agree with Vani: JSTL is a better choice for this situation as the tags are more intuitive and more powerful. Example: