Hi everybody! I've got the next question, i think that it's basis but i don“'t know why it's
happen. I'm using struts with EJB. When I put something like, when i testing, these it's works
well, Proyectos form = FactoryForms.create("proyectos"); f.setValue("titulo","Hola que tal");
request.getSession(true).setAttribute("proyectosForm",f); and it shows the string "hola que
tal" in the input form, but when i try to do with a session bean , with the next code ...
IProyectos po = (IProyectos)DynamicDelegateFactory.createServices(IProyectos.class,"gpfc.struts.ejb.servicios.DynamicProyectosEJBDelegate");
po.setTitulo("StrutsEJBJDO");
String p = po.getTitulo();
//It retrieves correctly the value of titulo because i test it //with System.out.println
in the server ..// and the value of p is StrutsEJBJDO .. f.setValue("titulo",p);
request.getSession(true).setAttribute("proyectosForm",f); it doesn't show anything.why
it could be caused? I also try to obtain the attribute "proyectosForm" with mapping.getAttribute,
but it didn't work.Thanks a lot in advance. Ruben
---------------------------------
Yahoo! Messenger
Nueva versión: Super Webcam, voz, caritas animadas, y más #161;Gratis!
|