Basic Structure I'm working with...
Selection.jsp (5 fields, 8 valid selection combinations)---calls FormManager servlet-->>
FormManager.java which extends servlet (responsible for forwarding response to proper jsp based on which of 8 combinations was used) ---build the specific sql I need for that combination, then passes the sql to a
java class that does all my result set processing(calls connection class, and logic classes).
I am returned a bean. I then do a request.setAttribute and put the bean into the request. Then, I see if the cancel date in the bean != 0. If it does it goes to the error.jsp, if not it goes on to the regular order page. Now, I do create a bean in the doPost that holds the returned bean. And that is what I'm setting in the request.
The next time it runs, even though the value being returned will still be !=0 from the db, but it forwards on to the regular page instead of hitting the error page...and I don't know why...