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
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
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Web Component Certification (OCEJWCD)
Remove and Set
satyam bobba
Greenhorn
Posts: 10
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
<c:set var="a" value="b" />
<c:set var="${a}" value="c" />
<c:remove var="${a}"/>
In HFSJ book mentioned the var attribute remove tag should not be expression.
But i am not getting any error?
I tried in manner also<c:remove var="<%=a%>"/>
Can i use expression for <c:set> and <c:remove> for var attribute?
Narendra Dhande
Ranch Hand
Posts: 951
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
Which JSTL version you are using ? According to the JSTL 1.1 the "var" attribute of "set" tag does not accept the expressions. It is compilation time error.
Thanks
Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
satyam bobba
Greenhorn
Posts: 10
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am using JSTL 1.0 . What is the Latest version
Narendra Dhande
Ranch Hand
Posts: 951
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I think the stable release is JSTL 1.1, which is also in Exam. The JSTL 1.2 is under Maintainence realease.
Thanks
Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
I've read about this kind of thing at the checkout counter. That's where I met this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
c:set var question
How does c:remove scope=... work?
c:remove
c:remove custom tag
a JSTL question in Whizlabs Exam Simulator
More...