Pages

Wednesday, July 30, 2008

Plugging Quartz to Struts


I received one comment today about my post titled "Implementing Quartz to Struts", The comment ask on how to plug the Quartz to Struts so decided to make this little snippet tutorial for some other struts framework developer having this kind of case to benefit.

This pretty straight forward:

- In your struts-config.xml file, copy and paste the code below and change the schedule class name that you are using.


<plug-in
className="scheduleplugin.NewsLetter">
<plug-in>


Done, just a three line of codes in your struts-config to add. Start your web application and schedule will now trigger.

No comments:

Post a Comment