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
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Web Component Certification (OCEJWCD)
using scripting with standard jstl tags
Joshua Antony
Ranch Hand
Posts: 254
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Can we use scripting with standard JSTL tags like below ?
<c:set var="test"> <%=request.getParameter("name")%> </c:set>
SCJP,SCWCD, Into ATG now!
Christophe Verré
Sheriff
Posts: 14691
16
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The c:out tag body-content is
JSP
, so scripting is accepted.
[ March 27, 2008: Message edited by: Christophe Verre ]
[My Blog]
All roads lead to JavaRanch
Joshua Antony
Ranch Hand
Posts: 254
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
ok, just had a look at JSTL library documentation, found that the body content for most of the tags are JSP.
Does that mean that the tag handlers for these tags are classic tags since simple tag cannot have scripting in its body ?
SCJP,SCWCD, Into ATG now!
Christophe Verré
Sheriff
Posts: 14691
16
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Good guess
[My Blog]
All roads lead to JavaRanch
Christophe Verré
Sheriff
Posts: 14691
16
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
By the way, if you sneak in Jakarta's implementation, you'll find out that the c:out is an org.apache.taglibs.standard.tag.rt.core.OutTag which extends BodyTagSupport.
[ March 27, 2008: Message edited by: Christophe Verre ]
[My Blog]
All roads lead to JavaRanch
Joshua Antony
Ranch Hand
Posts: 254
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks Christophe
SCJP,SCWCD, Into ATG now!
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Scripting with JSTL Core tags.
Variables from JSTL to JSP
c:set equivalent in struts tag ?
custom tags for dynamic values inside JSTL tags
questions about JSTL variables
More...