This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Default scope fpr <c:set ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Default scope fpr <c:set ?" Watch "Default scope fpr <c:set ?" New topic

Default scope fpr <c:set ?

Veena Pointi
Ranch Hand

Joined: Jun 20, 2002
Posts: 442

In what scope attribute will be set if we don't specify scope in <c:set var="userLevel" value="CowBoy" /> tag?


"Continuous effort - not strength or intelligence - is the key to unlocking our potential."
*Winston Churchill
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63332

What does the JSTL Specification say?

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 808

Bear - good point .
<c:set> - default scope is page
<c:remove> - it searches all of the scopes or only the specified one.
Be aware! :P

Veena Pointi
Ranch Hand

Joined: Jun 20, 2002
Posts: 442
Yeah spec says default scope is page.Thank you Lucas,Bear.
I agree. Here's the link:
subject: Default scope fpr <c:set ?
It's not a secret anymore!