value « JavaBean « JSP-Servlet Q&A

1. Assign Values in Java Bean

2. "out"ing values stored in javabean

4. How to get values in Java bean

5. use of value object ( javabeans )

7. Accessing javabeans values in servlet

You could do any of the following to get access to the bean's info in your servlet: 1) Store the bean in session scope and get it in the servlet with MyClass myBean = ( (MyClass) (request.getSession().getAttribute("myBeanName")) ); if (myBean != null) { String data = myBean.getData(); } 2) Store the bean state in form fields in the jsp and then ...

9. Accessing JavaBean values from JSP