DB design log (9)

来源:互联网 发布:海湾主机编程 编辑:程序博客网 时间:2024/06/05 08:50

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.

原创粉丝点击