Welcome to the JavaRanch. We ask that you
let us know if you have posted your question on
other sites. We'd hate to waste our time working on your problem if it has already been answered elsewhere.
It looks like we don't have enough of the JSP to help you right now, but judging from Roman C's comment on the other site, you just copied something he had posted on how to make a block of text respond to a click. Do you understand how his code works? Can you fix the code posted above so we can get a better picture of what you are doing?