I hope this is a simple question. I know Java, but I've just started learning JSP, and I'm having a difficult time understanding how I can capture the username and password from a login page to pass it to my java method. I was able to create a variable linking to a samplemethod
Sample.SampleMethod sm = new Sample.SampleMethod();
String jason = sm.test("Input String");
but how would I do the same for the following?
<td class="formPromptTd">User Name:</td>
<td class="formElementTd"><input type="text" name="USERNAME" size="20" tabindex=1 Class="formText"></td>
Thanks in advance