I have seen an ASP page which works something lik this it checks the systemdate daily and compares it with the database where there r a list of birthdates and email ids. on any matching date it sends birtday greetings to the corresponding email ids. Mind u this asp page is not specifically invoked by anybody daily. it runs automatically. how to acheive something lik this in JSP or servlets
JSP and Servlets are more or less same. To do server side work and generate html generally we use servlets. For automatic works to be done, you can rather do in a simple java program. Put this java program in a automatic.bat file and call this bat file from your server bat file I mean when you start your server you must be using some kind of startup.bat. Hope this helps.