Hello,
I'm sorry, I'm brand new to
struts and it's blowing my mind.
What I'm trying to accomplish is a page (index.jsp) that the user does not leave. There are many buttons on it which bear the text Name1, Name2, Name3, etc. There is also a div that displays the button the user has clicked. At first it should be blank, and then as the user clicks buttons the name of the button pressed is displayed.
I would like to use a bean to store the name of the button pressed by the user.
I know how to set a bean value...
and how to use a bean value...
But how can I set the bean value only when I click the following button?
Using the following struts.xml, to make it seem to the user that they are never leaving the one page: