This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSTL doubt

 
Brijesh shah
Ranch Hand
Posts: 92
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 115
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic