current position:Home>HTML and servlet cannot be connected together, and the set servlet cannot be implemented

HTML and servlet cannot be connected together, and the set servlet cannot be implemented

2022-05-15 04:34:29CSDN Q & A

Html and servlet Not connected , Set up servlet It can't be realized
The first one to edit is jsp Can be linked together , Edit later html But it can't be realized html The material in that

img

img




Take the answer :

Should be html Medium form In the form action Set to ${pageContext.request.contextPath}/myweb01

Then you visit abc.html After the web page is submitted Just arrive servlet We've dealt with


copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.qdmana.com/2022/131/202205042149019726.html

Random recommended