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 do you pass the data from one servlet to another
servlet?

Answer Posted / abilash

also we can set data in the request too

request.setAttribute("variableName"object);

we can get the value in the next servlet by

Object obj = request.getAttribute("variableName");

Is This Answer Correct ?    24 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is servlet chaining?

1087


What are all the protocols supported by httpservlet?

1273


How to rectify errors in java servlet while compilation?

954


How do you invoke a servelt?

1120


What is servlet attributes and their scope?

1057


What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?

1060


How do you design microservices?

1074


What is context in servlet?

1031


What is the difference between context parameter and context attribute?

1042


What do you mean by url pattern in servlet?

1112


What do you mean by httpservlet and how it is different from the genericservlet?

1045


Why do we use sendredirect() method?

968


How do you configure a centralized error handler in servlets?

1102


What exception should be thrown when servlet is not properly initialized?

1004


What is meant by cookies?

1074