Originally posted by Ben Souther:
Have you tried putting print statements in the context listener and the init method of the servlet to see which is starting first?
NOTE: you may want to include a timestamp in the lines, not all logging packages guarantee that the lines will be printed in the order they occur.
Originally posted by Peter Loew:
But in the mean time a good test would be to set up a simple servlet with a context listener and debug out statements and see the chronological chain of events. If I have time I might try this with another container.
Originally posted by Ben Souther:
Is there an echo in here???
Originally posted by Neeraj Dheer:
why dont you post/send me your code and ill try it out on Tomcat and Websphere..
i am sorry for not being able to write it myself, am travelling and done have access to a PC at the place i am put up at the moment...but if you could post the code here, ill try it out at work...
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|