Hello, I'm new to web development and I have a question about calling JSP from a JavaScript file. My project consists of an html file with JavaScript (home.html) and a JSP file (login.jsp). In the home.html file, there are 2 textboxes and 2 buttons - one for login and another for reset. When the login button is clicked, I want to call a JavaScript function for textbox field validation. If either of the textboxes is empty, I want to show an alert message saying "text fields should not be empty" to the user. If both textboxes have values, then it should redirect to the login.jsp page. Thank you in advance!