thank you very much, i read in that forum that jsp is different from javascript so i decided to post here... sorry...
You should not apologize. This is the right place to post it IMO. You are using JSP after all. The reason I copied it there is because you said you want to do the update using Ajax so I thought an Ajax expert might help you better. I've never used Ajax myself even though I work with a lot of JSPs.