This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Firstly, your JSP is using a lot of old technology. Scriptlets have been discredited for over 8 years now. You should update your JSP knowledge to embrace the JSTL and EL instead.
That said, the problem is that you are trying to emit output via scriptlets rather than scriptlet expressions. If you are going to continue to use scriptlet technology (not recommended), use scriptlet expressions (&using lt;%= %>) rather than scriptlets.