Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt in <c:set> from HFSJ

 
geeta vemula
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where they come from doesn't really matter.
Another rancher has posted an example for PetMap here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic