Now the StoreServlet does a redirect to the Store.jsp after a purchase instead of a request forward. This is so that the window.onload javascript function in Store.jsp will work.

The onload javascript in Store.jsp shows a popup that displays the results of the user's purchase.