This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSP and the fly likes getParameter() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "getParameter()" Watch "getParameter()" New topic
Author

getParameter()

Santoshkumar Jeevan Pawar
Greenhorn

Joined: Aug 19, 2006
Posts: 27
what is the difference between methods getParameter() and getAttribute()
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3640
Read this.


My blood is tested +ve for Java.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

For "difference between" questions that involve two methods in the same class, the best place to look for the answer is the API:
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequest.html


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
Consider Paul's rocket mass heater.
 
subject: getParameter()
 
jQuery in Action, 3rd edition