public ActionForward validatePhysicalAddressInvalid( ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws IOException { PhysicalAddressBean physicalAddressBean = getRenderedObject("physicalAddressBean"); if (physicalAddressBean == null) { return backToShowInformation(mapping, actionForm, request, response); } return forwardToInputValidationCode( mapping, actionForm, request, response, physicalAddressBean.getContact()); }
public ActionForward validatePhysicalAddress( ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws IOException { PhysicalAddressBean physicalAddressBean = getRenderedObject("physicalAddressBean"); final PhysicalAddressValidationBean validationBean = physicalAddressBean.getValidationBean(); validationBean .getValidation() .setFile( validationBean.getFileName(), validationBean.getFileName(), validationBean.readStream()); return backToShowInformation(mapping, actionForm, request, response); }