I'm a little confused on how to show two properties from different beans on the same .jsp page.
I have a .jsp page in a Struts 1 application . . . code follows:
"description" is in the "ProblemDescription" Bean and "problemResolution" is in the "Problem" Bean.
The action mapping for this page is shown below:
Note that the "name" attribute points to "ProblemDescriptionForm" and not "ProblemForm"
When I try to load the page I get "No getter method available for property problemResolution for bean under name org.apache.struts.taglib.html.BEAN"
I assume I'm getting this because the action mapping uses name = "ProblemDescriptionForm" and not "ProblemForm" and "problemResolution" is part of the "ProblemForm".
So I'm confused as to how I show properties from two different beans on the same .jsp page when the name attribute in the action mapping can only point to one form (i.e. bean). Can someone explain how this is supposed to work?