This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
1) Your getters and setters don't follow JavaBean conventions; they should be similar to "getName()" and "setName()" etc.
2) The result values in your struts.xml file are wrong; they should be lower case--at least if you're going to use Action.SUCCESS etc. in your code.
3) Why are you doing validation in the execute() method? There's a validate() method in ActionSupport for a reason.
4) client.jsp has at least two misspelled tags and won't compile, and I have no idea why you're importing a Java class.
Joined: Feb 16, 2008
i just start reading struts so dnt know much about it.
i am reading from struts black book this example is from that book