Hi fellow programmers,
Does anyone know how to write startup code(code that is ran only when the web app is started or restarted) for a web application thats being written with JSP and Java servlets?
I'm trying to write code that accesses the database once everytime the web application is started/restarted to delete expired records.
I appreciate any help. Thanks.
Does anyone know how to write startup code(code that is ran only when the web app is started or restarted) for a web application thats being written with JSP and Java servlets?
I'm trying to write code that accesses the database once everytime the web application is started/restarted to delete expired records.
I appreciate any help. Thanks.