In Java web, the form cannot submit data to the servlet


Preface

提示:form表单 不是from 这个是个细节
提示:action中html里不要写 /请求地址 直接写请求URL
提示:如果jsp中写 ${pageContext.request.contextPath}/请求URL


提示:以下是本篇文章正文内容,下面案例可供参考

Directly to the picture

Insert image description here

Insert image description here

Guess you like

Origin blog.csdn.net/prjh_/article/details/124198604