Derek Akers wrote:
>
> Orion is
> having a problem invoking the useBean tag when given the class name of the
> object to instantiate. HEre is the code:
>
> <jsp:useBean id="cartFactory" scope="session" class="cart.CartFinderBean">
> <%
> System.err.println("Error using CartFinderBean");
> %>
> </jsp:useBean>
Why did you mark the region inside of <jsp:useBean>'s with the message
"Error using..." ? It'll be invoked every time the session will be
created - either on startup, after timeout or every request when a
browser doesn't support cookies and URLRewritting is not used or not
provided by servlet container. Thus, it'd mean that there would be a
problem while seeing the message, but in fact it'd not be.
> however, it seems that this tag is not operating properly. I get errors
> when trying to refer to
Could you show the errors ? The more clues, the more helpful answer can
be:)
> derek akers
Jacek Laskowski