first implement struts to spark app