Hi all,
I want to make this logic.
[
JSP page] ---pass a value---> [Action class] ---select using the value and return---> [JSP page]
The value is Product Group ID.
The Action class should return a Product List to the JSP page by selecting products using the Product Group ID.
So I'm using Struts2 Tag on the JSP page like this..
Is there something wrong with it?
Because that code didn't return any value.
I tested the method(getGroupRelData) like this.
Nothing printed. No error.
The value printerGroupID in the JSP page is ok. Because I tested the value like this.
I could see the value when I ran the JSP page.
I think there is something wrong with this sentence.
<s:iterator value="@collect.CollectMainData@getGroupRelData('#printerGroupID')">
Is it right? I'm looking forward to your answer. Thanks.