Within a HTML file, I have created a variable in JavaScript consisting of an array with two entries - a latitude and a longitude. I am looking to use AJAX to send this variable and then utilize it in my JSP file to populate a form.
Does anyone have any suggestions on how to achieve this? My current project is using Java 1.8.