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

What’s the use of the servlet wrapper classes??

1101


How do you load an image in a Servlet?

1184


Explain servlet.

1036


Can we get PrintWriter and ServletOutputStream both in a servlet?

1143


what is servlet chaining?

1082


How is an application exception handling is done using a servlet?

1006


What are the supporting protocol by HttpServlet ?

1186


What are the disadvantages of storing session state in cookies?

1145


What is a servlet context?

1157


What is the difference between genericservlet and httpservlet

1075


How do you invoke a servelt?

1119


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

1038


Who is responsible for writing a constructor?

1254


The code in a finally clause will never fail to execute, right?

1074


Explain session tracking and its importance?

998