Tag: servlet exception

  • Java EE 6 Servlet – TomEE – Caused by: java.lang.IllegalArgumentException: Invalid in servlet mapping

    How bad a plain vanilla servlet can go with annotations??? Let’s see what happens if we miss a simple “/”. So I configured a simple Servlet in eclipse, see the code below [sourcecode language=”java”] package com.mumz.test.javaee.servlet; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * Servlet implementation class MySecondServlet. */…