is it a good practice to have static blocks and constructor in servlets. if both are used, what issues might be faced by the servlet in terms of concurancy.
For example
For example
is it a good practice to have static blocks and constructor in servlets. if both are used, what issues might be faced by the servlet in terms of concurancy.
Neeraj Vij wrote:what will happen, if I the example given uses the constructor and static blocks?
Neeraj Vij wrote:
I can't google from my office