form以注解方式提交表单数据从html到servlet一直报错404

html上采用form提交表单数据,以注解的方式提交到servlet,但是跳转中报错404

        <form action="user.do" method="post" onsubmit="return checkForm(this);">
                <input type="text" id="user_phone" style="width: 400px;height: 40px;border-radius: 5px;background:#F0F8FF;border: none;margin-left: 30px;margin-top: 20px" placeholder="请输入你的手机号" onblur="checkPhone(this)"><span id="msg" style="font-size: 10px"></span>

                <input type="submit" value="注册" style="width:260px;height:40px;border-radius: 5px;margin-left: 30px;margin-top: 35px;background: #FF6600;border: none;">
                <br>
                <font style="font-size: 10px;margin-left: 50px">已有CC速递账号?<a href="login.html" style="color: #FF6600">直接登录 →</a></font>
            </form>

Servlet上的

            @WebServlet("/user.do")
                public class UserServlet extends HttpServlet 

网页一直报错404

  <form action="<%=request.getContextPath() %>/user.do" method="post" onsubmit="return checkForm(this);">
            <input type="text" id="user_phone" style="width: 400px;height: 40px;border-radius: 5px;background:#F0F8FF;border: none;margin-left: 30px;margin-top: 20px" placeholder="请输入你的手机号" onblur="checkPhone(this)"><span id="msg" style="font-size: 10px"></span>

            <input type="submit" value="注册" style="width:260px;height:40px;border-radius: 5px;margin-left: 30px;margin-top: 35px;background: #FF6600;border: none;">
            <br>
            <font style="font-size: 10px;margin-left: 50px">已有CC速递账号?<a href="login.html" style="color: #FF6600">直接登录 →</a></font>
        </form>