Hi,
Forgive me for the beginner question but I
am trying to
instantiate a class for a JSP.
I am using:
<jsp:useBean id = "EX" class = "Example" scope = "session" /> Thus I am under the assumption that my "Example" class is being
instantiated and the constructor is called, is this incorrect?
Basically I am trying to instantiate a class for a session and was wondering if this is the way to do it.
And so if it is can I access class objects, I am assuming
I am supposed to use
jsp:get_property
jsp:set_property
rather then EX.counter
where counter is a property of the "Example class"
Once again sorry for the newbie question
and thanks for any help you can give!!
Mike
|
- RE: Tomcat/JSP Question Mike Alba
- RE: Tomcat/JSP Question Purcell, Scott
- Re: Tomcat/JSP Question Mike Alba
- Re: Tomcat/JSP Question Francisco Areas Guimaraes
- Re: Tomcat/JSP Question Mike Alba
- RE: Tomcat/JSP Question Skidmore, Walt