aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply 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: 9950
    
    6

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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: HFJS: page 447. last bullet >..i got confused.
 
Similar Threads
HFS pg 447 doubt.
Clarification required -HFSJ page 447
JSTL c:set doubt
jstl set tag
EL and missing properties