Hi Misha !!
Instead of use to tags jsp:useBean
<jsp:useBean id="class1" type="package.class1" scope="page"/>
<jsp:useBean id="class2" type="package.class2" scope="session"/>
<jsp:useBean id="class2" type="package.class3" scope="application"/>
use somthing like this code
<%
package.class1 class1 = new package.class1(); // ?? any constructor
Object class2 = session.getAttribute("class2");
or
Object class2 = request.getSession(false).getAttribute("class2");
Object class3 = application.getAttribute("class3");
or
Object class3 = getServletContext.getAttribute("class3");
// check 2 and 3 for null
// and apropriate class type
// if null make constructor
%>
mail if somthing is n ot clear.
Regards
Valik
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets