Re: Tomcat not putting session objects into JSP page context? (repost...)

2001-06-25 Thread Richard Sand
: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 25, 2001 2:03 PM Subject: Re: Tomcat not putting session objects into JSP page context? (repost...) > > I think the problem is, you're using: > > Object obj = pageContext.getAttribute("loginBean&q

Re: Tomcat not putting session objects into JSP page context? (repost...)

2001-06-25 Thread Fernando_Salazar
I think the problem is, you're using: Object obj = pageContext.getAttribute("loginBean"); The JSP spec defines this as returning an object that occurs at *page* scope. Try instead: Object obj = pageContext.getAttribute("loginBean", pageContext.SESSION_SCOPE ); This should work. As to why

RE: Tomcat not putting session objects into JSP page context? (repost...)

2001-06-25 Thread Randy Layman
First, if you want people on the list to respond, you should post in plain text (a significant number use text-only email readers, which makes the message you sent very hard to read). Second, if you want you object to be found from the PageContext object, then you need to put it