wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFJS: page 447. last bullet >..i got confused. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HFJS: page 447. last bullet >..i got confused." Watch "HFJS: page 447. last bullet >..i got confused." New topic
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: 11257
    
  16

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!!!


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HFJS: page 447. last bullet >..i got confused.