I have a JSP file and I want to get the value of the input text and send it to a java class. How can I do it?
<form name="boxSettingForm" action="/ScanToBox/ScanJobServlet" method="post" >
<div style="height: 417px; width: 790px; background-color: #ffffff; margin-left: 0px; margin-top: 0px;">
<div style="height: 116px; ">
<br><input id="boxName" value="BoxName" style="height: 49px; width:128px; font-size:16px; font-family:Albany; background-color:#D4D6D9" type="button" onfocus="this.blur()">
*<input id="boxName" style="text-align:left; font-size:24px; font-family:Albany; height: 47px; width: 624px" type="text" value="myBox">*
</div>
<input type="button" value="Start"
style="position: absolute; left: 250px; top: 220px; height: 80px; width: 280px; font-size: 16px; font-family: Albany; background-color: #D4D6D9"
onfocus="this.blur()" onclick="get_input()"></div>
I want to get the value of the input text and send it to a java class.