Hi guys,
Someone here said awhile ago that useBean and getAttribute is the same
thing. e.g. I setAttribute(someBean, "myBean") in a servlet, and then I
forward it to a JSP. Inside the JSP, I do getAttribute("myBean") and I can
get the someBean, but he mentioned that I can also get the someBean by using
<jsp:useBean id="myBean" type="someBean" scope="session" />. But when I
tried it, it didn't work. What am I missing here? Can I access a variable
from session that was defined in a servlet by using useBean? Thanks.
===========================================================================
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