Hope you are trying to find the difference b/w request parameter and attributes.
Request Paramter: Request Parameter are name value pairs and both the name and the value are strings.
Consider that you have a form with a text box say , so when this form is submitted to a servlet or another JSP. You can get the value entered by the user in the textbox (firstName), through which returns the value entered in the textbox.
Request Attributes: Request Attributes are objects, and can be placed in the request, session, or context. As they are objects and not just String, they are much more flexible to use. You can set attributes programatically and retrieve them later.
Consider in a JSP page you have a connection object and you are setting it to the request attribute through the code
you can retrieve the Connection object in servlet by using the following code.
Note: You need to cast the object which you retrieve from request attribute.