Here is the correct syntax: <jsp:setProperty name="beanName" property="propName | *" [value="val"] [param="paramName"] /> name, property are mandatory. Note: Only param or value can be used not both. Only value can take request time expressions. Param need not be specified if attribute name matches with request parameter name.
<jsp:include page="/pageToInclude" [flush="true/false"] /> Only page is mandatory.
<jsp:setProperty name="beanName" property="propName"> Both are mandatory.
<jsp aram name="name" value="val" /> Both are mandatory. Note: This tag can only be used in <jsp:include>, <jsp:forward> and <jsp arams> standard actions. Only value can be request time attribute expression. When used with <jsp:include> or <jsp:forward> these values are augmented with original value, takig precedence over original values.
Hope this helps.
SCJP2, SCWCD 1.4
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads