Implement a simple web calculator using struts1