Hi  all,
     I face a problem , How can i access the contents of session
object from another session object belonging to the same session
directly ie
i have a session bean
Bean1 b1;
methods: String getData();

and another session bean
Bean2 b2
method : setObject(String value)

boths beans are inialized as session objects by using the <usebean>
tag, The question is how will i call b1.getData() in b2's setObject()
directly ,  where b1 and b2 belong to the same session.

pls note: I don't want to pass b1 as parameter to b2 from jsp page,
because i want the container to automatically set the value of
setObject() using the <setProperty> tag.

Regards,
John

===========================================================================
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://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

Reply via email to