GeeCON Prague 2014*
The moose likes Struts and the fly likes automated emails using struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "automated emails using struts " Watch "automated emails using struts " New topic
Author

automated emails using struts

Brahmani Ganduri
Greenhorn

Joined: Dec 10, 2008
Posts: 17
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

Joined: Oct 29, 2001
Posts: 8915
    
    8

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
GeeCON Prague 2014
 
subject: automated emails using struts