It looks like you are mapping your servlet "Home" for all incoming requests. So when the browser makes a request for the css url, it is intercepted by the servlet and it is unable to find it. You can change the servlet mapping for the home servlet so that it does not intercept all requests
@WebServlet(name="Home", urlPatterns={"/home"})