title: Configuring Jetty JSP support in embedded mode in Maven project
body: <p>I can visit .html pages with Jetty, but when I visit a .jsp page I get:</p>
  
  <blockquote>
    <p>0 13:21:13 / [INFO] No JSP support. 
    Check that JSP jars are in lib/jsp and
    that the JSP option has been specified
    to start.jar</p>
  </blockquote>
  
  <p>I added the following as dependencies:</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;org.eclipse.jetty&lt;/groupId&gt;
    &lt;artifactId&gt;jetty-webapp&lt;/artifactId&gt;
    &lt;version&gt;8.0.0.M1&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;javax.servlet.jsp&lt;/groupId&gt;
    &lt;artifactId&gt;jsp-api&lt;/artifactId&gt;
    &lt;version&gt;2.1&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Does that fulfill the "check that JSP jars are in lib/jsp" part of the error message?</p>
  
  <p>Also, I have no idea what "check that the JSP option has been specified to start.jar" means in this context.  I have the following:</p>
  
  <pre><code>  public static void main(String[] args) throws Exception {
      Server server = new Server();
  
      SelectChannelConnector connector = new SelectChannelConnector();
      connector.setPort(8080);
      server.addConnector(connector);
  
      WebAppContext webApp = new WebAppContext();
      webApp.setContextPath("/");
      webApp.setWar("src/main/webapp");
      server.setHandler(webApp);
      server.start();
      server.join();
    }
  </code></pre>