Welcome to the Ranch,
But just posting pages full of code isn;t going to get you any help.
Please
ShowSomeEffort and do more than just say it doesn't work.
What is is supposed to do?
What part of that is it not doing?
From your debugging, where does the problem lie?
Can you not narrow it down to the exact line where things are going awry?
Also, there is no such thing as "jsp javascript". By the time the page gets to the browser, it's just an HTML page like any other. You might benefit from reading
this article.