There are no such methods as getattributes() and getparameters() -- they are
getAttribute() and
getParameter().
And they aren't even close to the same thing.
Request parameters are those submitted to a
servlet as part of the request -- form values, for example.
Objects can be placed into request scope, also called
scoped variables, with
setAttribute() and retrieved with
getAttribute() (or with the EL in JSPs).