?
Solved

getAccount() to return a list .....

Posted on 2003-02-19
4
Medium Priority
?
260 Views
Last Modified: 2010-05-18
How do you create a method getAccount(int BTN) to return a list of BTNBillingInfoDO objects for example.
keeping in mind that the values returned from some other interface are: accountid, LastName, FirstName, BillingAddress.
 - If only one or two accounts in the list go to a page
   called accountNumberConfirmation.jsp


Thanks in Advance
0
Comment
Question by:coolkarim
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 14

Expert Comment

by:kennethxu
ID: 7982927
psudo code:
public List getAccount( int BTN ) {
  List accountList = new ArrayList();
  for( each DO you created ) {
    accountList.add( DO );
  }
  return accountList;
}
0
 

Author Comment

by:coolkarim
ID: 7983004
thanks for the quick response Kennethxu.
how about a transulation for the for condition please

sincerely
0
 

Author Comment

by:coolkarim
ID: 7983018
thanks for the quick response Kennethxu.
how about a transulation for the for condition please

sincerely
0
 
LVL 14

Accepted Solution

by:
kennethxu earned 200 total points
ID: 7984417
sorry, not quite understand you "-if" part, can explain it in more detail? thanks

BTW, EE email alert is down I think.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Summer 2017 Scholarship Winners have been announced!
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question