
In the example : http://www.roseindia.net/struts/struts2/struts-2-mysql.shtml
how is the username and password(in insertdata.jsp) which is entered by the user is transferred to the { ("INSERT employee VALUES ('"+uname+"','"+pws+"')"); } This code is in the insert.java.