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
  • 50,282
  • 110
  • 242
  • 312

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
  • 398,947
  • 96
  • 818
  • 769