My java applet sits in a JSP page. When the JSP page (together with the applet) is rendered on the browser, user is supposed to enter a few details such as user name, email address (both are text box field on the html page).

User will then click a button on the HTML page and the expected result is it should transfer the value in both text boxes to java applet. How should I go about this ? Is this possible ? Thanks.