This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes One Bean nested in another. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "One Bean nested in another." Watch "One Bean nested in another." New topic
Author

One Bean nested in another.

Chris Donald
Greenhorn

Joined: Jul 15, 2008
Posts: 21
Hello,
I have 2 beans-the main one is the Account bean.I also have a bean called BillingAddress which is set into the Account Bean i.e:

public BillingAddress getBillingAddress() {
return billingAddress;
}
public void setBillingAddress(BillingAddress billingAddress) {
this.billingAddress = billingAddress;
}
Now I have 2 jsps-The first one is the Account.jsp.Once the user fills this up,he would be taken to the billingaddress.jsp.I have used the AbstractWizardController for this.Unfortunately,my second page is throwing errors.I am not sure how one references the second bean billingAddress in billingAddress.jsp

Any advice is appreciated.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: One Bean nested in another.
 
Similar Threads
EJB 3.0 JNDI Exception
How to pass Java Objects into Stored Procedure in DB2
Question on Thread - from Niko's mock
Page section does not update after call of a4j:support in IE 9
comparing two objects by overriding equals and hashCode