I have one bean class that consiist of setter and getter methods. Am setting the bean from one servlet class, and getting bean in another java class. after set some value to bean component, that value is not available while i am calling coresponding getter method.
My doubt is after set the bean component is it necessary to pass that bean object through httpServletResponse to the class in which we are calling the bean getter method?
Kindly some body explain me...
<b>Chandran.M<br /> <br /> <br /> Do Your Best <br /></b>
1. You created an object. 2. You updated that Object with some values. 3. Now you need to store reference to that object somewhere so that you can pass on that refernce to other part of the application. In your case, you can store the attribute in request or in session scope and use it in next jsp/servlet.