| Author |
Default scope fpr <c:set ?
|
Veena Pointi
Ranch Hand
Joined: Jun 20, 2002
Posts: 442
|
|
Hello,
In what scope attribute will be set if we don't specify scope in <c:set var="userLevel" value="CowBoy" /> tag?
Thanks
Veena
|
SCJP1.4
"Continuous effort - not strength or intelligence - is the key to unlocking our potential."
*Winston Churchill
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56179
|
|
|
What does the JSTL Specification say?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Lucas Smith
Ranch Hand
Joined: Apr 20, 2009
Posts: 804
|
|
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
|
SCJP6, SCWCD5, OCE:EJBD6.
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.
|
 |
 |
|
|
subject: Default scope fpr <c:set ?
|
|
|