my codes of learning struts2, hope you can benifit from them.