I have a doubt reg the order in which the 'DD' will be read by the sevlet contaner. First, the container will create a Servletconfig object depending upon the init params, and then it creates the name/value pair which will be given reference of the servletconfig object.
Then when the container calls the servlets init() method with the servletconfig obj as a parameter. My doubt here is if the <init-param> comes at the end of the DD, how will the servlets get the init values properly, because the<servlet-class> tag is before the <init-param> tag. Please clarify whether the order in which the <init-param> matters in DD. When i cheked it by changing the order, it didnt affect. But still eager to know how the servlet gets the init values eventhough theuy are at last.