Basic example code using the struts2 framework