I am using logic:iterator tag and want to set two attributes length and offset by the value I get from session. I use useBean to get the value from the session. My question is: Once I get the values from session how to supply teses values to the iterator tag?