then you should create an object of bean as
Logic_Build contact =(Logic_Build)form;
not as


please mention where you accessed your database here??