Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to pass a requrest object of one servlet as a request
object to another servlet?

Answer Posted / ravikiran(aptech mumbai)

using request.setAttribute("key",value) in the first servlet
and request.getAttribute("key") in the second servlet

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What methods do you use in servlet - applet communication?

983


What is the difference between the include() and forward() methods?

1028


How to get the IP address of client in servlet?

1027


What are the difference between session and cookies in servlet? Explain

1001


What are the key methods that are involved in processing of http servlets?

1050


How will you pass values from HTML page to the servlet?

990


How httpservlet is different from the genericservlet?

1064


Define the servlet mapping.

976


What are the life-cycle methods for a servlet?

942


What is MIME Type?

1093


Explain the methods of request dispatcher in servlet?

984


Can we get PrintWriter and ServletOutputStream both in a servlet?

1102


What's the servlet interface?

1029


What is the effective way to make sure all the servlets are accessible only when user has a valid session?

1004


Why servlet is faster than jsp?

1010