Adam Zedan wrote: what happens when both a servlet config and aservlet context are to be passed to a servlet ?? wasnt it suppose to have a method like init(Servletconfig,servletcontext) or something like that ?? I hope someone could help me out clarify this concept... Thanks..
You dont have to do that. you can get the ServletContext from servletconfig.getServletContext() method. Please refer to the java docs.