RequestDispatcher and getServletContext() don 't work when using
init() 2003-10-15 - By Luke Vanderfluit
Back 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
-- ==================================== "when my computer smiles, I'm happy" ===============================.~ ~, Luke Vanderfluit |'/'] Mobile: 0421 276 282 \~/`
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|