File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

automated emails using struts

 
Brahmani Ganduri
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
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.?
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic