RE: getSession(true) AND SecureRandom
The best thing I can think of right now is create a servlet that you specify as a load-on-startup servlet. That servlet's init method then makes an http request to localhost for the correct webapp so that a session is generated. Randy -Original Message- From: Alfredo Solano Martinez [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 9:39 PM To: [EMAIL PROTECTED] Subject: Re: getSession(true) AND SecureRandom Then, is it possible to initialize SecureRandom at startup time? You know, the only thing I'm asking for is not to have the first client waiting 20 seconds to have his/her page loaded :-) Alfredo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: getSession(true) AND SecureRandom
Hi again, just a couple of things about this little headache of mine :-) : 1. -It seems that SecureRandom initializes at startup time since Tomcat 3.2.2 (currently beta :- ( ) 2.- So. what about that load-on-startup tag?? What are the possible values it may have? Thanks for the replies - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: getSession(true) AND SecureRandom
2.- So. what about that load-on-startup tag?? What are the possible values it may have? Those are part of the standard for servlet 2.2, and accordingly they are supposed to be set to a positive number, with the number indicating the relative order that the servlets should be loaded on startup. David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: getSession(true) AND SecureRandom
Then, is it possible to initialize SecureRandom at startup time? You know, the only thing I'm asking for is not to have the first client waiting 20 seconds to have his/her page loaded :-) Alfredo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]