在WebRoot下建子文件夹new,new文件夹下有个a.jsp文件怎么访问src的servlet
在a.jsp中的的表单如下<form action="upServlet" method="post"></form>
web.xml 配置
<servlet>
<servlet-name>upServlete</servlet-name>
<servlet-class>com.servlet.upServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>upServlet</servlet-name>
<url-pattern>/upServlet</url-pattern>
</servlet-mapping>
在运行时出错,会的给指点指点。。谢谢啦
------解决方案--------------------
<form action= "upServlet.do " method= "post "> </form>
------解决方案--------------------