public class SurveyWonderInterceptor extends AbstractSurveyWondenInterceptor {
@Override
public String intercept(ActionInvocation invocation) throws Exception {
HttpServletRequest request = ServletActionContext.getRequest();
VoterResponse voterResponse = this.getVoterResponse(request);
if (null == voterResponse) return "nullVoterResponse";
Survey survey = voterResponse.getSurvey();
Date today = new Date();
boolean started = (today.getTime() > survey.getStartDate().getTime());
//SE NON INIZIATO, ESCI
if (!started) return "surveyNotBegunYet";
boolean expired = (null != survey.getEndDate() && today.getTime() > survey.getEndDate().getTime());