Re: RequestDispatcher and getServletContext() don 't work when using
init() 2003-10-15 - By Tim Funk
Back You must call super.init(...) in your init method.
-Tim
Luke Vanderfluit wrote: > Hi, > > I found that using the init() method to set up a database connection > then trying to instantiate a ServletContext object and forward to a jsp > page didn't work. > > If placed the database connection code in the doPost() then it DID, > > The 2 code sets are attached, > > can anyone tell me why? > > thanks, > kind regards, > Luke > >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|