Hi All,
I'm having a little trouble (for some reason) understanding how to do something in my
Struts 1.3 application.
Specifically, I have a .jsp that looks (in part) like below:
The action in struts-config looks like this:
The question I have is how do I display data from different classes (beans) in my drop down lists on my .jsp. My action points to a specific actionForm (in this case "ProblemForm") but I want to display data from another bean (in this case UseCases) in my drop down list on the same .jsp page. Also, I'm using hibernate 3 and there is a "many-to-many" relationship between "Problem" bean and "UseCase" bean. The relevant section of the "ProblemActionForm" is shown below as well:
I guess what I'm asking is given the above what should the code be in my .jsp to show the various "use case" values? Apparently this code above:
is incorrect.
Any help is appreciated,
Thanks,
Rob