Hi ishsn0
Have you tried Spring MVC's secret handshake with regard to the ModelAndView, namely the BindException.getModel() method?
Code:
public ModelAndView onSubmit(Object command,BindException errors)
throws ServletException {
String claimNumber = ((BeneFind) command).getClaimNumber();
String now = (new java.util.Date()).toString();
List beneData = getBeneManager().getBeneInfo(claimNumber);
Map myModel = errors.getModel();
myModel.put("now", now);
myModel.put("beneData", beneData);
return new ModelAndView(getSuccessView(), "model", myModel);
}
Using the Map returned from BindException.getModel() will result in the command object being present in the model, which might address your address (unless of course it is some other issue, but this is a start).
Ping the forum back if this does not resolve your issue.
Cheers
Rick