Re: getPageContext returns null

2005-10-26 Thread Michael Neel
Thanks Tim and Steve... though a combination of session.setAttribute and request.setAttribute I'm able to put thing where I want. In retrospect that seems so obvious... Mike On 10/26/05, Steve Kirk <[EMAIL PROTECTED]> wrote: > > not sure about use of PageContext, never used it. > > ... or about

RE: getPageContext returns null

2005-10-26 Thread Steve Kirk
not sure about use of PageContext, never used it. ... or about the "correct" way to pass info from servlet to jsp (if there even is one), but if it helps, I use this approach and it works well: // in the servlet's doPost() request.setAttribute(MyConstants.MY_OBJECT_CONSTANT_NAME, myObject); requ

Re: getPageContext returns null

2005-10-26 Thread Tim Funk
Variables in pageContext scope are only available to the JSP. It looks like you should be setting variables in the request scope. -Tim Michael Neel wrote: Hi, Quick overview, I'm setting some variables in the session from my servlet to be used in my JSP/JSTL page. Everything is fine if a JS