jQuery in Action, 2nd edition*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes doubt in <c:set> from HFSJ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "doubt in <c:set> from HFSJ" Watch "doubt in <c:set> from HFSJ" New topic
Author

doubt in <c:set> from HFSJ

geeta vemula
Ranch Hand

Joined: Jul 18, 2008
Posts: 208
This is from Pg 456 HFSJ second edition

there is one example of <c:set target="${PetMap}" property="dogNAme" value="Clover" />

and <c:set target="{person}" property="name" >
{foo.name}
</c:set>

my doubt is from where did this PetMap and person came? We are not specifying its class name like we did in <jsp:usebean><jsp:setproperty>?

thanks,
geeta
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Where they come from doesn't really matter.
Another rancher has posted an example for PetMap here.


[My Blog]
All roads lead to JavaRanch
 
Consider Paul's rocket mass heater.
 
subject: doubt in <c:set> from HFSJ