Re: How do you pass data from a servlet to a jsp page?

2000-11-01 Thread Harding, David
on 11/1/00 1:52 PM, Craig R. McClanahan at [EMAIL PROTECTED] wrote: > "Harding, David" wrote: > >> odd, getServletContext() returns null for me > > The 99.9% cause of this one is having an init(ServletConfig config) method > that > fails to call super.init(config) somewhere. > > I use the

Re: How do you pass data from a servlet to a jsp page?

2000-11-01 Thread Craig R. McClanahan
"Harding, David" wrote: > odd, getServletContext() returns null for me The 99.9% cause of this one is having an init(ServletConfig config) method that fails to call super.init(config) somewhere. I use the init() method that takes no arguments to avoid this kind of problem. Craig McClanahan

Re: How do you pass data from a servlet to a jsp page?

2000-11-01 Thread Harding, David
on 11/1/00 1:31 PM, Bill Pfeiffer at [EMAIL PROTECTED] wrote: > Are you using the request dispatcher to pass the servlet request to the jsp? > I do this all the time, setAttribute in the servlet (controller), call > forward() to forward the request to the jsp, and do request.getAttribute(). > >

Re: How do you pass data from a servlet to a jsp page?

2000-11-01 Thread Bill Pfeiffer
<[EMAIL PROTECTED]> Sent: Wednesday, November 01, 2000 1:10 PM Subject: How do you pass data from a servlet to a jsp page? > is there some undocumented trick to this? > > i tried it and it does not work. > > i get Attribute does not have a value errors when i am sure that &

How do you pass data from a servlet to a jsp page?

2000-11-01 Thread Harding, David
is there some undocumented trick to this? i tried it and it does not work. i get Attribute does not have a value errors when i am sure that i called setAttribute in the servlet with a valid value. why am i getting this error? cheers, david j harding