Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: I want to access some objects throughout my application


Message #1 by "vinodbonde" <vinodbonde@h...> on Wed, 12 Mar 2003 13:27:13
Yes that's ok But what all i want to do is something different I am very 
much clear now. I want to access some objects/variables inside the 
function. That are declared in the same jsp page. But note that those 
objects/variables should not be a class level variables. Because those 
class level variables retain their value even after the request is over 
and the next user would get a changed value.
So what can be done pls help me
Thanks
Vinod

> You could use the HttpSession object to store pretty much anything you =
want. However, this may not work for you because you could have the same =
user signed into multiple sessions. It may be better to just store them =
in the database and retrieve them as needed.

-----Original Message-----
From: vinodbonde [mailto:vinodbonde@h...]
Sent: Wednesday, March 12, 2003 7:27 AM
To: Pro_JavaServer_Pages
Subject: [pro_jsp] I want to access some objects throughout my
application


I want to access some objects throughout my application. So that those=20
objects are availble on all jsp pages. And One more thing that all =
objects=20
for one user should not conflict with other user.
Each user should get his own copy all the time.
Please answer as quick as possible
Thanks
---
Change your mail options at http://p2p.wrox.com/manager.asp or=20
to unsubscribe send a blank email to =


  Return to Index