Hi Nagalatha
Here is your reply.
See first you have to retrieve servlet init parameter i.e. you have to do something like
String param1 = getServletConfig().getInitParameter(String);
Now, you have got the parameter, you have to store it in an attribte. Depending upon your requirement or the visibility of the attribute, you can store it in various scope. Since you are talking about servlet, I will store it in request scope.
Code will be like this,
request.setAttribute("para1", param1);
Hoping that's what you want.
Regards,
Khushhal