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 JavaBeans data to JSP using Servlets?

Answers were Sorted based on User's Feedback



How to pass JavaBeans data to JSP using Servlets?..

Answer / pramod kumar

<jsp:useBean> tag can be used to avail the bean data in
case you are working with JSP's, or if you use a servlet
you can set the bean to the request object and forward it
to the JSP component and there in JSP retreive this object
and use getter methods and do something like this and it
works for sure.

Is This Answer Correct ?    3 Yes 0 No

How to pass JavaBeans data to JSP using Servlets?..

Answer / muralisankar

Using RequestDispatcher as follows,

RequestDispatcher rd =
getServletContext().getRequestDispatcher("test.jsp");
rd.forward(req,res);

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Servlets Interview Questions

What methods do we use in Servlet to Applet communication?

3 Answers   Infosys,


Difference between httpservlet and generic servlets?

0 Answers  


What is the difference between Get and Post Method?

12 Answers   T3 Softwares,


When a servlet accepts a call from a client, it receives two objects. What are they?

0 Answers  


What is the use of request dispatcher interface?

0 Answers  


What is life cycle of Servlet?

0 Answers  


how to make the IP address to .com

1 Answers   iGate,


what is OOAS

2 Answers   iGate,


Differentiate between get and post?

0 Answers  


What are session variable in servlets?

0 Answers  


What is cookie in servlet?

0 Answers  


What are the advantages of Servlet over CGI?

0 Answers  


Categories