Hello,

i work with Struts 1.3.

I want to include a JSP-Page in another JSP in which i want to write some information from a bean.
The name of the bean in the session could be different because the included-JSP-Page is included in different jsp-Pages.

Is this possible?:

This is the code i have currently:
Java Code:
<logic:notEmpty name="oneLiteratureElement" property="resources">
		<logic:iterate id="files" name="oneLiteratureElement"
			property="resources">
                </logic:iterate>
</logic:notEmpty>
And this is the "code" i want:
Java Code:
<logic:notEmpty name="oneLiteratureElement" property="resources">
    [B]< newBeanname = name="oneLiteratureElement" property="resources" >[/B]
		<logic:iterate id="files" name="newBeanname"
			property="resources">
                </logic:iterate>
</logic:notEmpty>
How can i do this?
Can someone help me please?
Best regards
Heidi