This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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

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

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

Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

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

[My Blog]
All roads lead to JavaRanch
wood burning stoves
subject: doubt in <c:set> from HFSJ
Similar Threads
JSTL Doubt
cset Property doubt??
JSTL doubt
Question on cset Target
doubt on jsp:useBean tag