Article From:

For example,
jspIt is < form action= “${pageContext.request.contextPath}/user/save” > I already know.

But my page is HTML.

Answer 0:

Similarly, you can’t use the backend variable, but you can write a specified one.

<form action="">
Or this station< form action= "/user/save" >Or use a relative path< form action= "save" >

Answer 1:

You can also use the form form submission method of jQuery, or $.ajax

Answer 2:

htmlUse the relative path

Leave a Reply

Your email address will not be published. Required fields are marked *