Programming Tutorials

Comment on Tutorial - Handling multiple buttons in HTML Form in Struts By Charles



Comment Added by : farhaan

Comment Added at : 2008-03-20 15:22:13

Comment on Tutorial : Handling multiple buttons in HTML Form in Struts By Charles
This tutorial is very good. Actually I have been searching the solution for a such a problem that you have sloved. But I have not understood The last topic of this tutorial regarding internationalized Struts web application in this context. How the value remain same as "Save Me" but the spanish person see it as "“Excepto Mí”. The Key that shows “Excepto Mí” instand of "Save Me" obviously set your bean step property to the value “Excepto Mí” but not "Save Me" and your action class has no way to know it that it means Save Me. You have to hard code the if clause to handle Excepto Mí as well.

View Tutorial