are these declarations deemed valid? ( i don�t think so...)
A - <jsp:setProperty name="myBean" param="*" /> B - <jsp:setProperty name="myBean" property="name" param="*" />
A - FALSE, because property attribute is aloso MANDATORY. B - wildcard + param issue is not applied to jsp:setProperty standart action.
is that correct?
Tks a lot.
SCJP | SCWCD | SCBCD | SCWSD 5 | SCEA (I) 1.4 | SCEA 5 | IBM SOA 669
Mahendar Reddy
Ranch Hand
Joined: Sep 27, 2005
Posts: 73
posted
0
Ya u r right. Both r incorrect.
SCJP- 98%<br />SCWCD-92%
shweta bulbule
Ranch Hand
Joined: Mar 24, 2006
Posts: 30
posted
0
yes they are incorrect, param is not used with setproperty.
Thanks,<br />Shweta
Narendra Dhande
Ranch Hand
Joined: Dec 04, 2004
Posts: 950
posted
0
Hi sweta,
param is used with setProperty. It is a valid attribute to setProperty, but you can not used it with wild-card. You can only use property attributes with value "*"