M
Multicoder4002
Hi!
I thought that the "reloadable" attribute would do that. But after
reading a little more, I noticed that this attribute make the servlet
reload each time it is overwritten on the server...
So, would anyone know how to reload and reinitialize a servlet each
time it is accessed by a client ? I have coded a servlet and it has an
integer variable declared in the global servlet scope... And each time
the client calls the doget method, I would like the integer i to be
reinitialized to zero...
thanks
I thought that the "reloadable" attribute would do that. But after
reading a little more, I noticed that this attribute make the servlet
reload each time it is overwritten on the server...
So, would anyone know how to reload and reinitialize a servlet each
time it is accessed by a client ? I have coded a servlet and it has an
integer variable declared in the global servlet scope... And each time
the client calls the doget method, I would like the integer i to be
reinitialized to zero...
thanks