Please be sure to use UBB code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along. Please read this for more information.
You can go back and change your post to add code tags by clicking the .
Do a View Source on your page once it gets to the browser and observe what the contents of the do() method have turned into.
P.S. Your subject seems to have nothing to do with your post. Where does the <select> come in? The only reason that this appears to work is that you are calling do() at page load. So it's hard to tell the difference between things that happen on the server and things that happen just before the page is displayed.
If you need to make decisions in the JSP code based upon data and actions that can't be known until after the page is presented to the user (such as selections from a <select> element), your approach completely falls apart.