From reading through a lot of threads I have come to the conclusion that instance variables should not be used because in the
Servlet model only on Instance of the Servlet class will exist.
So, if instance variables can't be used how are multiple objects/data passed into a method and then in that method when they Objects are initialized used in the doGet and doPost methods.
Basically I have some connection routines to an IMAP mailbox that will happen more than once. I want to put that part into a connect_mailbox method that takes a Folder and a Store. How can the Folder and Store be used else where if they are not instance variables? I have some ideas but am looking for the correct way...
Thanks,
Kenny