Hi,

     I'm seeing some odd behavior that I suspect is related to the
useBean directive.  This is in Tomcat 4.1.12, with Jasper.

     I have a fairly straightforward javabean to hold data from an SQL
query, including a method (public void select()) to do the query and
load the results into the bean.

     When I instantiate the bean in a servlet adn invoke bean.select()
everything works fine.  When I do it in a JSP via usebean, it doesn't
seem to actually invoke the select() method.

     Is there some known bugginess about useBean?  Will I lose too much
if I just instantiate the bean in a scriptlet?

Steven J. Owens
[EMAIL PROTECTED]

"I'm going to make broad, sweeping generalizations and strong,
 declarative statements, because otherwise I'll be here all night and
 this document will be four times longer and much less fun to read.
 Take it all with a grain of salt." - Me at http://darksleep.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to