
Set Attributes in a Servlet Request
Usually, you set attributes in a session and the attributes are available through out the session. If you want to limit the scope of an attribute to just a request, you can set the attributes on a request object. This is how: request.setAttribute(“attributeName”,attributeValue);attributeName – This is a string , the