I want to use bean in my jsp page.
i have a application scope bean in my page. it's id is "beanid"

how can other bean access this application scope bean?

can i use "getServletContext().getAttribute("beanid");" ?
if i use this statement, the bean needs to extends HttpServlet. right?

i like a servlet rather than a bean.

pls help
thanks


Get your FREE Email at http://mailcity.lycos.com
Get your PERSONALIZED START PAGE at http://my.lycos.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

Reply via email to