Barbiejones
Programmer
I have been asked to remove RMI from my JSP based application. I have removed the registering for RMI from my Java Servlet and I have made the application run in one JVM. Now I am seeing strange behaviour on my JSP pages. I use a shopping cart session bean to keep track of items that user are entering. When the user clicks on a button which sends them to another JSP page, when they return to the page that allows them to enter the items they want, it gives them two items instead of one. The cart has an addItem method which adds the item that they want. Unfortunately the item is already added before this method is called and when I add the item they now have two items. I am not sure how the cart is being accessed before the addItem method is being called. Has anyone seen anything similar to this after removing RMI? When I put the RMI calls back in, everything works perfectly.
Barbiejones
Barbiejones