This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Parameters in a request are set by the HTML client when the request is created, typically form elements (input and file elements to be exact) within a HTML form. Therefore if the form that called your servlet/JSP page had an element with a name "chennai", you would retrieve the value of that form element by using getParameter("chennai").
Joined: Oct 04, 2007
Actually here i am using asterisk and this request.getParameter wii retreive the data from the asterisk.if a person calls from chennai,it will be displayed in the asterisk console like
from this console i have to get the parameter chennai.neither servlet or jsp is used here.but i am not getting the parameter eventhough i hardcoded the parameter.thats why i am confused why it is displaying null even the string i have passed is chennai directly.