The form does not jump when the page occurs, we can use the form of ajax
Of course, sometimes there are primitive forms, such as:
document.userForm.action=contextPath+"/user.do?user_id="+userId;
document.userForm.submit();
At this time, the page will jump, we can specify the jumped page as the current page, or
Add the following statement: document.userForm.target="submitFrame";
Then add <iframe src="" id="submitFrame" name="submitFrame" frameborder="0" width="0" height="0"></iframe> to the current page.