Hi all
java gurus,
My
JSP:
Here I have a collection of keywords, and printing them in a loop with submit buttons and the user can delete whatever the keyword they like. (action will remove the corresponding entry from the ArrayList). Also the user can add a keyword to the collection using another submit button. (adding a new entry to arraylist)
The problem is this code segment don't work in IE, and later I found out that the sitemesh in my program is adding another fom element to the JSP. I googled and found out that the nested forms are not working in IE. (and it is not recommended?)
I tried to fix this by removing my form tag, but my keyword removal function failed (the action can't distinguish which keyword is to be removed). only the adding keyword was working.
I tried it using javascript but I couldn't find a way to get the remove-button index the user presses. (because keywords are rendered dynamically)
Am I doing something wrong? I'm not much familiar with using JSPs. Please help me!!!