started working on struts2 logic