Patrik Beno wrote:
Hi people!
I have application which behaves differently in tomcat 3.1 and 3.2.
3.1: loads ok, first page is displayd correctly
3.2: Browser complains document contained no data; tomcat or my code
(don't know which of 'em) runs much longer - seems like looping
Ahhh, that explains it. I've been meaning to look into why my first request
takes so damned long.
I just added the following line of code to the init() method of one of load
on startup servlets and now my first requests goes through just fine.
new java.security.SecureRandom().nextLong();