Hi,
request.getAttribute : Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
request.getParameter :Returns the value of a request parameter as a String, or null if the parameter does not exist.
Regards
Balaji S