Thank you, kevin
I tried what you wrote, and it worked !
now I got a new question.
If I declare like below
<jsp:useBean id="catAndSub" type="CatAndSub" scope="application" /> in a
jsp.
<jsp:useBean id="catAndSub" type="CatAndSub" scope="request" /> in the
other jsp.
The first one's scope is application and second one's is request.
What's gonna happen ?
>In a servlet try
>CatAndSub catAndSub = getServletContext().getAttribute("catAndSub");
>carAndSub.getXXX();
>in a JSP
><jsp:useBean id="catAndSub" type="CatAndSub" scope="application" />
><% catAndSub.getXXX(); %>
Thanks in advance.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html