aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes JSTL doubt 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 "JSTL doubt" Watch "JSTL doubt" New topic
Author

JSTL doubt

Brijesh shah
Ranch Hand

Joined: Mar 16, 2007
Posts: 90
Hello;


In the following example i know it will print Kathy, brij, bartner..but i dont understand in <c:set>tag what the use of property attribute and how to use it practically...
<c:set var = "userLevel" property="name" >
Kathy, brij, bartner
</c:set><br>
userLevel is : ${userLevel}

If possible then kindly explain this doubt with example.

Thanks.

Regards;
Brijesh Shah
-SCJP
-target SCWCD
James Mark
Ranch Hand

Joined: Jul 05, 2007
Posts: 115
I think var version of <c:set/> cant have the property attribute.have you tried it?
target version can take one.But the target must evaluate to
Map or Bean Else container will throw an Exception.


SCJP1.4(96%) SCWCD1.4(92%)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSTL doubt