I am new to JavaServer Pages and I am unsure what a piece of code means.
The code below, I believe, is creating a new lobby. This function works but I need a delete function also. I am confused as to what the 2nd line of the code is doing.
var form = document.getElementById("form1");
form.action = "createLobbyByAdminAction.action?";
form.method = "post";
END OF CODE
However, that second line is setting the action for the form (ie what the form does when submitted) to createLobbyByAdminAction.action.
Not sure the '?' is necessary at the end.