learning struts code