This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Best option I would suggest you to try by yourself on any intelligent java/j2ee editor. Try oberving methods of servletcontext. And also think , would it make sense to have a getservletconfig method in servlet context.?