added basic validation (spring), code in offers.jsp for spring gui
integration