wood burning stoves
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
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: 63858

What does the JSTL Specification say?

[Asking smart questions] [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

BLOG: http://leakfromjavaheap.blogspot.com
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: http://aspose.com/file-tools
subject: Default scope fpr <c:set ?
It's not a secret anymore!