change to struts and hibernate