Hello all,
How can I save a variable using a servlet and then access it using JSP
pages?
this is what I am doing getServletContext().setAttribute("myVar", aVar);
in the jsp when I use pageContext.getAttribute("myVar"); it return null.
What am I doing wrong? plz help it's urgent.
===========================================================================
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