nest « Parameter « JSP-Servlet Q&A

1. Struts Nested Tag with Dynamic Parameters

I have a legacy Struts 1 application which uses the nested tag. Can I inject a dynamic parameter into the nested tag? For example,

<nested:select disabled="<c:out value='${requestScope.disableSelectBox}' />" />
I also tried doing:
<nested:select ...

2. Struts 2 Nested Parameter Question

Suppose that I have a list of business primary key numbers and a java Map of OrderId numbers to Orders. How would I retrieve the order object?

Action Form

// assume proper getters ...