I have a problem. Lets say there are 2 servlets: Load() and Process(). During Load(), I want to create and initialize some objects. and During Process(), I want to use those objects for some other things.
Since there is no main class in a servlet (as opposed to desktop programming), I don't think that I can return object created by Load() and pass it as argument to Process() from the main class.
So, how could I create an object in during one servlet call and use/access that object from other servlet?