Hmm, I think you might be missing the point of a session. It is something that is associated with a client. If you want something initialized when the app starts up, you need to put something in a servlet.init() method. In there, check to see if that thing is initialized, if not, initialize it.
For sessions, you'd call request.getSession(true), when the user first hits the app, to create the session for that client. You can check for a valid session by calling request.getSession(false) first, testing for null...

David

On 11/21/2002 12:22 AM, [EMAIL PROTECTED] wrote:

Relating to the previous posting. Now I have my hastable stored as a session, and am able to retrieve it, I would like the session to be created when the service (TC) starts up, or is restarted. I.e I would like the session to be available without initailsing it by loading a JSP page.

Thanks

Paul.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to