• Post Reply Bookmark Topic Watch Topic
  • New Topic

differance: getParameter() and getAttribute() ?  RSS feed

 
Ja vardhan
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can you folks pls explain me the differance between attribute and parameter.

how these pairs are differant:
set/getParameter()
set/getAttribute()

Pls expalin me.

Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read the javadoc entries for the methods?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java.lang.String)" target="_blank" rel="nofollow">http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletRequest.html#getAttribute(java.lang.String)
java.lang.String)" target="_blank" rel="nofollow">http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletRequest.html#getParameter(java.lang.String)

The link to the full API is in my signature.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!