I am familiar with the concept that when a form is submitted say to a
servlet the value of the text field is available by name to the servlet.
So for example
The servlet can access the value by
Now I know that in
java script something like
This statement however sets the runtime value of the textbox and does'nt Adjust the original HTML (ie it doesnt add the typed data in the textbox in the value section).
However the typed text is still available to the servlet why is that ? does the submit button actually insert the content of textboxes in the value fields??