contacts.add(new Contact("Barack", "Obama", "barack.o@whitehouse.com", "147-852-965"));
contacts.add(new Contact("George", "Bush", "george.b@whitehouse.com", "785-985-652"));
contacts.add(new Contact("Bill", "Clinton", "bill.c@whitehouse.com", "236-587-412"));
contacts.add(new Contact("Ronald", "Reagan", "ronald.r@whitehouse.com", "369-852-452"));
ContactForm contactForm = new ContactForm();
try {
ServicioContactoStub oStub = new ServicioContactoStub();
MostrarContacto oMostrarContacto = new MostrarContacto();
MostrarContactoResponse objResponde = oStub.mostrarContacto(oMostrarContacto);
ContactoVO[] contacts2= objResponde.get_return();
contactForm.setContacts(contacts2);
return new ModelAndView("showcontactrow" , "contactForm", contactForm);
} catch (RemoteException e) {
// TODO Auto-generated catch block
e.printStackTrace();