Reputation: 15880
I though about making a static class common between all the servelt classes, but I found out that will not work (tomcat deals with each new servelt as a totally new program)
So what are the other options I can try??
Upvotes: 0
Views: 451
Reputation: 29824
Other options in addition to the ones proposed by Morritz
Upvotes: 0
Reputation: 13057
I think you have two options:
ServletContext
to access application-wide scope objects.Upvotes: 3