The java code inside ReminderAction:
public ActionForward execute(ActionForm form, ActionMapping mapping,
HttpServletRequest request, HttpServletResponse response) throws
IOException, ServletException{
System.out.println("Hi");
ReminderForm reminderForm = (ReminderForm) form;
if (null == reminderService){
ApplicationContext ctx =
WebApplicationContextUtils.getRequiredWebApplicationContext(servlet.getServletContext());
reminderService = (ReminderService)
ctx.getBean("reminderService");
}
reminderService.sendReminderMail();
return mapping.findForward("pass");
}
Antonio Petrelli-3 wrote:
>
> 2008/4/14, newBea <[EMAIL PROTECTED]>:
>>
>>
>> struts config is not getting ReminderAction...but the configuration is
>> correct i guess??
>
>
>
> I meant the Java code inside your ReminderAction class.
>
> Antonio
>
>
--
View this message in context:
http://www.nabble.com/action-not-getting-called-from-struts-config-tp16674206p16674605.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]