I'm working on a web application, JSP, where a user selects the text with the mouse in html. I want this text to be inserted in a MySQL database as a java string using prepareStatement in Java and executeupdate.
String querystring = "INSERT INTO mySelectedTextTable(selectedTextWithMouse) VALUES (?)";
Thanks in advance.