| Author |
HFJS: page 447. last bullet >..i got confused.
|
srini E
Greenhorn
Joined: Feb 18, 2006
Posts: 10
|
|
this is regarding <c:set> tag. > if the "target" expression is a bean, but the bean does not have a property that matches "property", the Container throws an exception. But be careful, because the EL expression by itself will NOT cause an exception if the property doesn't exists. So even though: ${fooBean.notAProperty} won't cause an exception by itself (it just returns null), if that same "notAProperty" is the value of a "target" attribute, the Container throws an exception. I'm confused.I did understand the first part of it but not the last part. Please help me understanding that. Does the above can be represented as below? <c:set target="${Person}" property="notAProperty" value="${fooBean.notAProperty}" /> Thanks in advance.
|
learn-->practice-->Improvise-->repeat<br /> <br />Thanks,<br />Srini
|
 |
srini E
Greenhorn
Joined: Feb 18, 2006
Posts: 10
|
|
I take back this question. Sorry if any this question got someones attention.!!! I got it all wrong. Reading that bullet upon mutliple times did make sense.
|
 |
fred rosenberger
lowercase baba
Bartender
Joined: Oct 02, 2003
Posts: 9950
|
|
srinivas, You must have missed our Naming Policy on the way in. We require a real first AND last name. Please go here and update your name. Thanks!!!
|
Never ascribe to malice that which can be adequately explained by stupidity.
|
 |
 |
|
|
subject: HFJS: page 447. last bullet >..i got confused.
|
|
|