Some sample code for java struts