I am newbie in UI i.e. front end. I am using Javascript and JSP. I need to perform the below task.
I have a textarea in jsp page which gets populated from a text file which i read using Java. Now, I want to empty the text area and that text file on clicking a button. Emptying the file is not an issue only i don't get how to transfer call from jsp file to Servlet on clicking that button.
Please help.