I am trying to use custom tag with variables.
for eg)
<c:forEach var="test" items="itemstest">
${test}
</c:forEach>
In the above code i am able to access the test
value inside the <c:forEach>
tag.
I need to create a custom tag with similar functionality.
I have got info from the oracle docs http://docs.oracle.com/javaee/5/tutorial/doc/bnamu.html
under title Declaring Tag Variables for Tag Handlers
.
Can anyone pls help me to implement the same with example.
Hi i have solved it in the following way
Create getter setter for variable