How can i get value of an element by ID in JSP.
Example: <input id="Text1" type="text" /> the following works while using ID In javascript -> document.getElementById("Text1").value; In JSP -> DONT KNOW
If we are using name instead of ID <input type='text' name='name'> then the following works in javascript -> document.formname.name.value; in JSP -> request.getParameter("name");