// Cast the form to the application-specific form
BeerSelectForm myForm = (BeerSelectForm) form;
// Process the business logic
BeerExpert be = new BeerExpert();
ArrayList result = be.getBrands(myForm.getColor());
// Forward to the Results view
// (and store the data in the request-scope)
request.setAttribute("styles", result);
return mapping.findForward("show_results");