This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
Making my first attempt at a web shopping cart. I've got the cart working and now need to pass the cart values to paypal. The order info and cart items are passed to paypal using a form with method "post".
The problem is that I want to capture these request values between the customer's cart page and paypal. I could do this by sending the customer to an intermediary page and having them click "next" to take them to paypal. But I don't want the customer to have to see one more unecessary page and make one more unecessary click.
What I'd like would be to have the form send the request values to a servlet that would capture and act upon the values before automatically redirecting everything to paypal. The customer should be unaware that this intermediary servlet exists.
This shouldn't be too difficult but I can't think of how to do it with my limited knowledge of servlets.