handles new shipment request . in the jsp we are using spring 's form : form tags spring expects a model called by default ` command ' or any name we set to it . concode_field_sep ShipmentBOInterface shipmentBO concode_elem_sep Logger logger concode_field_sep ModelAndView shipmentDefault concode_elem_sep ModelAndView search concode_elem_sep ModelAndView shipmentDetail concode_elem_sep String saveUpdate concode_elem_sep ModelAndView update concode_elem_sep String deleteShipment
String function ( @ Valid Shipment arg0 , BindingResult arg1 ) { logger . info ( "srini_string" + arg0 . toString ( ) ) ; if ( arg1 . hasErrors ( ) ) { Map < String , Object > loc0 = new HashMap < String , Object > ( ) ; loc0 . put ( "srini_string" , arg0 ) ; return "srini_string" ; } shipmentBO . insert ( arg0 ) ; return "srini_string" ; }