jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Maher <tdma...@mitre.org>
Subject Instance Variables
Date Fri, 21 Feb 2003 20:08:12 GMT
Can anyone tell me if it's possible (and if so how) to retrieve an
instance variable from my jsp into my tag?

i.e.
jsp code:

<%! private Thing foo;%>
<% public void jspInit(){
            try{
                foo = new Thing();
            catch(Exception e){
                //handle exception
            }
        }
%>

and then call:
    myThing.bar();
from my tag.

Tom



Mime
View raw message