I'm using a Hashtable as a bean in my JSP file:
and the methods i've declared (using <%! ... %>) can't access the bean "branchValues".I have tried putting the methods inside and outside of the <useBean> declaration.
I am puzzled because the code i've entered within scriptlets (<%...%>) can access the "branchValues" Hashtable without a problem, but the methods cannot.
Any suggestions?
Code:
<jsp:useBean id="branchValues" class="java.util.Hashtable" scope="session">
I am puzzled because the code i've entered within scriptlets (<%...%>) can access the "branchValues" Hashtable without a problem, but the methods cannot.
Any suggestions?