By using request.getParameter() we can retrive the values that are submitted by an HTML form or that was included in a query
string in URL. If we are using
servlet code to set an attribute, we have to use the request.setAttribute("xxx","zzz") to set it and request.getAttribute("xxx") to retrieve it. The getAttribute() method always returns an Object and the getParameter() method always returns a String.
Thanks,
Mahesh
--------------------
SCJP 1.4 | SCWCD 1.4 | SCBCD 1.3 |
SCEA Part I - In Progress