According to your requirement, I suggest you switch to ajax.I gave a simple example of how to transfer data to a servlet. Click here to learn more about jquery ajax
$.ajax(
{
type: "get",
url: "CallTimer",
data: { name: name1, date: date1,hour:hour1,filepath:filepath1,minute:minute1},
success: function(data, textStatus, jqXHR){
alert("success");
},
error: function(jqXHR){
alert(jqXHR.responseStatus);
}
});
note 1 , hour1. . get , URL-, 2048
user2948112