Thanks Leon!!!

Ok I made it using the servletcontext like you have said :-), with this

servlet.getServletContext().setAttribute("objHospital", objHospital);

All works fine, even if the user made a mistake :)

One question:

1- I dont understand something about the servletContext, which is the
problem of have multiple-server configuration? In both servers the data is
store in the servlet context right? I guess the problem is that in some
moment the objHospital in one server is diferent to the objHospital in other
server because it change in the database? Or that the actions of one war
don´t have the same servlet context that the actions on other war? I really
don´t understand this, can you explain me that, like i said all works fine
but i want to understand this.

Thanks

Reply via email to