Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJWCD
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Raising Young Coders: A Parent’s Guide to Teaching Programming at Home
this week in the
General Computing
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
Web Component Certification (OCEJWCD)
c:remove
Akhil Maharaj
Ranch Hand
Posts: 63
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi All ,
Can any body explain why " size variable in requestScope is NOT gone " is not printed ?
<c:set var="size" value="king_request" scope="request"/> <c:set var="size" value="king_page" scope="page"/> <c:remove var="size" /> <c:if test="${empty pageScope.size}"> size variable in pageScope is gone . </c:if> <c:if test="${!empty requestScope.size}"> size variable in requestScope is NOT gone . </c:if>
Marc Peabody
pie sneak
Posts: 4727
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Because it
is
gone. If c:remove does not specify the scope, it removes from
all
scopes.
A good workman is known by his tools.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how to overwrite a request param?
How to define object using custom tags?
page 448 jstl doubt
JSTL: remove object from scope
How to remove Bean?
More...