}
@Override
public ActionForward defaultMethod(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse resp) {
ServiceConfirmationForm f = (ServiceConfirmationForm)form;
String serviceType = f.getServiceType();
if(serviceType == null || serviceType.equals("")){
throw new BugException("invalid service type");
}
if(InteractionLogManager.EVENT_TIMER_SIMULATED.equals(serviceType)){
if(f.getServiceId() != null && f.getServiceId().length() > 0){
req.setAttribute("id", f.getServiceId());
return mapping.findForward("timerEventInteractionsList");
} else {
return mapping.findForward("timerEventList");
}
} else if(InteractionLogManager.EVENT_SMS_SIMULATED.equals(serviceType)){
if(f.getServiceId() != null && f.getServiceId().length() > 0){
req.setAttribute("id", f.getServiceId());
return mapping.findForward("backToInteractionsList");
} else {
return mapping.findForward("smsServiceList");
}
} else {