if (referer == null || referer.equals("")) { referer = this.getReturnUrl(request);
if (referer!=null && !referer.equals("")) { form.setReturnURL(this.getReturnUrl(request, referer));
	public ActionForward start(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,			HttpServletResponse response) throws FenixActionException, FenixFilterException,			FenixServiceException {		Person person = this.getUserView(request).getPerson();		SendMailForm form = (SendMailForm) actionForm;		List<IGroup> groups = this.loadPersonalGroupsToChooseFrom(request);		form.setGroupsToChooseFrom(groups);		String referer = request.getHeader("Referer");		if (referer == null || referer.equals("")) {			referer = this.getReturnUrl(request);		}		form.setReturnURL(referer);		form.setFromAddress(person.getEmail());		form.setFromPersonalName(person.getNome());		return mapping.findForward("sendMail");	}