| Author |
beans in jsp
|
daya mukiri
Greenhorn
Joined: Nov 02, 2005
Posts: 7
|
|
hi friends, how to access a bean's instance created in a jsp page from another jsp page? is it possible. let me know
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
Yes. To do this, you would bind your bean to one of the various scoped objects and then retrieve the bean from the other JSP/Servlet. To understand this better, you should read up on the following scoped objects. requestsessioncontext Any book or tutorial on Servlets/JSP worth it's salt will cover this topic in detail.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Vishnu Prakash
Ranch Hand
Joined: Nov 15, 2004
Posts: 1026
|
|
|
Take a look at the JSP Collections in my signature. It will help you.
|
Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
|
 |
daya mukiri
Greenhorn
Joined: Nov 02, 2005
Posts: 7
|
|
|
thanks friends
|
 |
 |
|
|
subject: beans in jsp
|
|
|