This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 8876
    
    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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: automated emails using struts