1. <a href="xxxx.jsp" >Click me! </a>---- There is nothing to say about modifying href
2.response.setHeader("refresh","2;URL=otherPage");-----After 2s, the page jumps to the url
3.response.sendRedirect(url)-----Redirect to the specified URL
If the above three parameters need to be passed, should they be added to the url? pass parameters
4. <jsp:forward page="url"> --- server jump (forward)
<jsp:param name="username" value="admin" />
</jsp:forward>
Note: Ajax means partial page refresh, and its background receiving and processing data cannot directly jump to the page.