| Author |
Passing values between JSTL and scriptlet
|
Chase Bonham
Ranch Hand
Joined: Jul 15, 2006
Posts: 50
|
|
I know I can do pass a scriptlet value to a JSTL tag <c:set var="".. value ="<%= %>" /> But can I reference an EL/JSTL value inside a scriptlet tag?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56164
|
|
First point: you really shouldn't be mixing and matching technologies if you can avoid it. Use scriptlets or use JSTL/EL. Using both is rather messy. Given that: scoped variables -- those created and referenced via JSTL and EL -- are just what we previously thought of as "attributes" created and obtained via setAttribute() and getAttribute().
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Passing values between JSTL and scriptlet
|
|
|