Results 1 to 1 of 1
Thread: Create Bean from another Bean
- 08-31-2009, 03:43 PM #1
Member
- Join Date
- Aug 2009
- Posts
- 1
- Rep Power
- 0
Create Bean from another Bean
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:
And this is the "code" i want:Java Code:<logic:notEmpty name="oneLiteratureElement" property="resources"> <logic:iterate id="files" name="oneLiteratureElement" property="resources"> </logic:iterate> </logic:notEmpty>
How can i do this?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>
Can someone help me please?
Best regards
Heidi
Similar Threads
-
Need advice on JSP with bean
By butterhero in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 07-18-2009, 11:40 AM -
UREGENT-accessing session bean ok but entity bean
By parimal in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 08-28-2008, 01:34 PM -
How to use Inner bean definitions via nested bean elements
By Java Tip in forum Java TipReplies: 0Last Post: 03-30-2008, 10:03 AM -
Doubt on <bean> tag
By sudhakarbe in forum Web FrameworksReplies: 0Last Post: 11-22-2007, 07:57 AM -
How to use Inner bean definitions via nested bean elements
By JavaBean in forum Java TipReplies: 0Last Post: 09-26-2007, 08:36 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks