Registration done in Struts 2