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 / priya

in an any web application when we have to pass object from
one servlet to another then we use request dispatcher.the
request dispatcher is used by using request.setAttribute
("key",value) in the first servlet and request.getAttribute
("key")in the second servlet.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When should you prefer to use doget() over dopost()?

1096


how the HTML data stored in web server?

2566


How is the get () method different from the post() method?

920


what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

995


What is generic servlet class?

1016


What is the difference between genericservlet and httpservlet

1029


Explain the steps involved in placing a servlet within a package?

1002


What exactly are the functions of servlet?

1047


How do you deal property files in servlet?

1025


What is meant by a servlet?

1053


What is a servlet-to-servlet communcation?

1120


Elucidate servlet attributes and its scope?

957


why we should override only no-agrs init() method.

1092


What are the steps involved in placing a servlet within a package?

1037


What is meant by Servlet? What are the parameters of service method?

1015