CodePudding user response:
And my js to get the current browser url, for example is to my page, your browser's address is http://kaapple.com:8080/zjf/a.jsp, my JSP or HTML in js for this url to ZJF by, if I don't want to let them to jump into my page, I still can't take my browser's url of the pageCodePudding user response:
And I also want to get to my page browser url but didn't want him to jump in the past, now still can not takeCodePudding user response:
Send an asynchronous request ajaxCodePudding user response:
Several servers, a few pages, you are responsible for interface?Your interface will not generate page, there is no chance to run js, the typical implementation is the get method pass parameters to your interface, your interface returns json data, completely is a server-side solution,
The URL you want to get each other, just talk to each other, request sent to you, didn't have a chance to get myself
CodePudding user response:
Ajax know about the