Hi,
I'm new to struts2 and I'm trying to populate a drop down on load of a
JSP page. I learned that we can do this using <s:select> tag backed by a list member variable with getters/setters in the Action class.
Something like this:
Here's the POJO
Here's the Action class
I get the loggedInUserId parameter as a URL param in the JSP.
How do I pass that parameter to the populate method in TestAction?
What should be the corresponding struts.xml configuration and so on?
Any sample code is appreciated.
Thanks in Advance
Vijay