Thank Christophe,
Now regarding <jsp:getProperty> the specifications say:
The value of the name attribute in jsp:setProperty and jsp:getProperty will
refer to an object that is obtained from the pageContext object through its findAttribute
method.
The object named by the name must have been �introduced� to the JSP
processor using either the jsp:useBean action or a custom action with an
associated VariableInfo entry for this name. If the object was not introduced in this
manner, the container implementation is recommended (but not required) to raise
a translation error, since the page implementation is in violation of the
specification.
from the first paragraph I would think that <jsp:getProperty> works in a similar way as <jsp:setProperty> (I mean it uses the findAttribute()) yet the second paragraph says that the page will raise an exception if the attribute wasn't introduced to the page (which means that it doesn't use the findAttribute(), may be I missunderstood it).
When
testing: if I use <jsp:getProperty> for an existing attribute without introducing the attribute using <jsp:useBean> I get an exception.
Could you explain those two paragraphs please.
Thanks in Advanced