This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JSP and the fly likes Question about TLD and variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Question about TLD and variable" Watch "Question about TLD and variable" New topic

Question about TLD and variable

Oliver Rensen
Ranch Hand

Joined: Jul 23, 2004
Posts: 109

Hello ranchers,

when I declare an attribute and a variable within the TLD like followed:



How can I access the variable testname in the JSP?

Only by EL or only by scriptlets?

<my:variableTest testname="howToCallThis"/>

<%= howToCallThis %>

I agree. Here's the link:
subject: Question about TLD and variable