dcsimg
Getting Bean Instance in Servlet
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ragas_B
Posted On:   Friday, December 28, 2001 12:12 PM

I am trying to get an instance of a java bean, which is been instantiated in the JSP page. How can I get the same bean instance within my servlet.

Thanks.

Re: Getting Bean Instance in Servlet

Posted By:   Christopher_Schultz  
Posted On:   Friday, December 28, 2001 12:31 PM

Give the bean a scope of session when you declare your bean. Then, you can grab it out of the session in your servlet by using the same String identifier.



-chris
About | Sitemap | Contact