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.