I personally made a new project and tested the code. It works all fine. Probably you are missing something somewhere. Well, it's really difficult to comment. But, please specify the steps that you took to make the project. You have got on some other boat somewhere.
subject: new to struts - problem in small struts example