here a,b,c,d,e are my column headings. I i submit the form, it should display a,b,c,d,e,f (one extra column, f column value is multiplication of d & e) How can i do that ?
Given the brevity of your question, the only answer possible is to add the extra column when you generate the HTML. Beyond that, I have no idea what your issue is.
Initially jsp form has only 5 columns. when the user submits, it generates another(6th) column. This 6th column value is multiplication of existing 2 column values.
Is your submit button in a form ? If so, add hidden tags to your form, one with the value of 'd', and another one with the value of 'e'. After submitting, get the value of the hidden tags, and multiply.