我正在尝试遵循此示例
,但我无法理解这部分:
Imagine also that the servlet's context path is myServer/myApp/servlets. The servlet container would direct a request with URL myServer/myApp/createUser.do myServlet to myServlet, because the request URL matches the pattern *.do. Servlet myServlet can extract the requested operation's name from the request URL.
我无法理解请求,不应该是 myServer/myApp/myServlet/createUser.do 吗?一个人如何创建这样的请求?我可以将 myServlet/createUser.do 放在表单的操作中吗?
感谢您的时间。
尤利亚
问问题
235 次