javaweb form表单的提交问题
<formaction="/AddDataServlet"id="addDataForm"method="post"><servlet><description></de...
<form action="/AddDataServlet" id="addDataForm" method="post">
<servlet> <description></description> <display-name>AddDataServlet</display-name> <servlet-name>AddDataServlet</servlet-name> <servlet-class>servlet.AddDataServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>AddDataServlet</servlet-name> <url-pattern>/AddDataServlet</url-pattern> </servlet-mapping>
为什么点提交,数据传不到servlet里面呢? 展开
<servlet> <description></description> <display-name>AddDataServlet</display-name> <servlet-name>AddDataServlet</servlet-name> <servlet-class>servlet.AddDataServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>AddDataServlet</servlet-name> <url-pattern>/AddDataServlet</url-pattern> </servlet-mapping>
为什么点提交,数据传不到servlet里面呢? 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询