RE: ServletContext - PLS HELP!!

2001-11-21 Thread Ulf Dittmer
Michael, Request attributes and Context attributes are two separate things. You should not expect to store an item in one and retrieve it from the other. The servlet context can be gotten be calling getServletContext() from within a servlet. Ulf -Original Message- From: Michael

Re : RE: ServletContext - PLS HELP!!

2001-11-21 Thread Michael
ok - I call a static method with the signature: public static test(HttpServletRequest req) How can I access the servletcontext within this method??? I think this MUST be possible, because the HttpServletRequest-object has the getContextPath()-method - so it knows the right context