ServletConfig is used for 2 things: 1) get a specific servlet's initialization parameters out of the deployment descriptor 2) Get a reference to the ServletContext object
By using ServletConfig we can retrive initialization parameters by two ways... by calling directly getServletConfig.getInitParameter() or getServletContext.getServletConfig.getInitParameter() , depends upon the situation we use either of these
George Thomson<br />SCJP, SCWCD, SCBCD, IBM-141(XML), SCEA<br />......................................................................
Yeah, but does being a ninja come with a dental plan? And what about this tiny ad?
a bit of art, as a gift, that will fit in a stocking