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

Can you use javascript in servlets?

1124


What are some advantages of storing session state in cookies?

1080


What do you mean by servlet?

1193


What is java servlet?

1108


How a servlet is unloaded?

1135


What is pure servlet?

1253


what do you understand by url rewriting?

1006


Why is init() method is used in servlets?

1078


Explain the servlet filter.

1041


Explain the difference between generic servlet and http servlet?

1037


What is a servlet-to-servlet communcation?

1257


How can we include static files in the jsp page?

1115


How to handle exceptions thrown by application with another servlet?

1139


Is servlet a framework?

1092


What are the supporting protocol by HttpServlet ?

1252