Accessing a method in a JavaBean
1 posts in topic
Flat View  Flat View

Posted By:   Dipesh_Gandhi
Posted On:   Wednesday, August 21, 2002 09:57 AM

I wrote a Java Bean that runs some stored procedures against a oracle databse. I have the stored procedures running simultaneously thourgh threads. I open two browser windows, in one i try to load a file called index.jsp which contains the jsp:useBean tag to instantiate the object and calls some of the methods to start the threads. In the other browser I try to load a file called test.jsp to simply access a variable in the same bean that was instatiated in the index.jsp file. The only time the test.jsp file works is after the index.jsp file is loaded. The bean has a scope of session. Can anyone shed some light on this issue???


Re: Accessing a method in a JavaBean

Posted By:   Horatiu_Ripa  
Posted On:   Friday, August 30, 2002 04:03 AM

I would be better if you post some code here.

How do you access the bean in test.jsp?
Try to access the bean variable (in test.jsp) as:


in a server side script
About | Sitemap | Contact