I am using struts framework for my web pages development. One feature, I am supposed to add is to send automatic emails daily.
Is there any way to invoke an action class periodically to send an email.?
It is possible, but that doesn't mean that you should.
Struts is a front controller, intended to streamline the construction of a web application. It is not a good match for automating processes.
Personally, I handle requirements like this with a stand-alone application (which can share functionality with a web app) and invoke it with cron or Quartz.