Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

my methods can't see my bean

Status
Not open for further replies.

JeffB

IS-IT--Management
Apr 10, 2001
1
US
I'm using a Hashtable as a bean in my JSP file:
Code:
<jsp:useBean id=&quot;branchValues&quot; class=&quot;java.util.Hashtable&quot; scope=&quot;session&quot;>
and the methods i've declared (using <%! ... %>) can't access the bean &quot;branchValues&quot;.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 &quot;branchValues&quot; Hashtable without a problem, but the methods cannot.
Any suggestions?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top