1

Possible Duplicate:
what is the difference between getAttribute() and getParameter() in java

What is the difference between a parameter and attribute when using JSP.

Community
  • 1
  • 1
Ankur
  • 48,849
  • 108
  • 240
  • 311

1 Answers1

8

Parameters are part of the original request (e.g. from the browser). Attributes are purely server-side, and are used to pass data when forwarding from, e.g. servlet to JSP.

skaffman
  • 390,936
  • 96
  • 800
  • 764