Hi All,
I'm trying to learn
struts so I am experimenting on some simple web programs.
I have a table that displays list of users and in the last row of each column I made 3 submit buttons that allows the user to VIEW, EDIT and DELETE each row. Also I also name the three button with property ManageUser.
What I want is for me to have a reference on what button was click.
I did make a form bean with ManageUser as private variable so I can get the value if its VIEW, EDIT or DELETE.
But when I try to extract the value from the javabean in the action class to which this form bean is map, no value can be retrieved and Myform.getManageUser() returns null.
Here's my struts config xml.
I have done a form bean with html text field and password and it works fine. I'm just experimenting if I could do it with buttons.. Can I do it this way? Thanks.