May 15
One of the major part of today's work is finishing the shopping-cart and confirm-order components. The shopping-cart component need communication between jsp pages. And every item in the shopping-cart need a special name. It's a key point to find a available method to send and receive the variable. I realized this by using a enumeration class, which contains the name of the process-waiting variables.
After some adjusting effort, this method works. Although a teammate found a traditional way, using hidden input class, I just got some exposure to that method without any revising, because my method also works.
The most challenging part is the confirm-order part. In this process the error occured clarified me that there could only exist ONE ResultSet. This problem made me entangled for quite a long time, however, finally, I managed to rule out the problem and solved the error.
本文讲述了在电子商务网站中实现购物车及订单确认组件的过程。重点介绍了使用枚举类处理变量传递的方法,并解决了在订单确认过程中出现的ResultSet唯一性问题。
1855

被折叠的 条评论
为什么被折叠?



