converted online application to struts/hibernate