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 do you mean by web applications? Explain web application directory arrangement?

916


How to commuincate between an applet and a servlet?

986


What is a servlet engine?

968


What is cgi?

947


How to read request headers from servlets?

996


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

989


What is ServletContext object?

1053


Is servlet synchronized?

1018


Define context initialization parameters.

984


How to get the actual path of servlet in server?

1169


Why session tracking is needed?

980


What is the difference between sendredirect() and forward() in a servlet?

955


What is servlet in web technology?

986


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

2728


How servlet is created?

1112