File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes getAttribute(),setAttribute,getParameter,setParameter methods with examples Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "getAttribute(),setAttribute,getParameter,setParameter methods with examples" Watch "getAttribute(),setAttribute,getParameter,setParameter methods with examples" New topic

getAttribute(),setAttribute,getParameter,setParameter methods with examples

Vidya Bhargavi

Joined: Jul 09, 2009
Posts: 26

Can anyone please send the getAttribute(),setAttribute,getParameter,setParameter methods clear explanations with examples.
It will be very useful.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32815

Welcome to JavaRanch!

Have you looked at the JavaDoc yet? What specific question do you have after reading it?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Reshma Reddy
Ranch Hand

Joined: Dec 21, 2006
Posts: 197
Hi vidya

do simple googling you will find good docs as well examples also.

dilip arora

Joined: Aug 23, 2011
Posts: 1

go to

java programmer (studying)
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
setParameter? Which class are you asking about?
Piyush Joshi
Ranch Hand

Joined: Jun 10, 2011
Posts: 207

Ulf Dittmer wrote:setParameter? Which class are you asking about?

I guess you didn't see the dates on the posts.

I agree. Here's the link:
subject: getAttribute(),setAttribute,getParameter,setParameter methods with examples
It's not a secret anymore!