实现HttpServlet的Web应用

      <dependency>
          <groupId>javax.servlet</groupId>
          <artifactId>javax.servlet-api</artifactId>
          <version>3.1.0</version>
          <scope>provided</scope>
      </dependency>
      <dependency>
          <groupId>javax.servlet.jsp</groupId>
          <artifactId>javax.servlet.jsp-api</artifactId>
          <version>2.2.1</version>
          <scope>provided</scope>
      </dependency>
      <dependency>
          <groupId>javax.servlet</groupId>
          <artifactId>jstl</artifactId>
          <version>1.2</version>
      </dependency>
      
      <plugin>
          <groupId>org.mortbay.jetty</groupId>
          <artifactId>jetty-maven-plugin</artifactId>
          <version>8.1.16.v20140903</version>
          <configuration>
              <scanIntervalSeconds>10</scanIntervalSeconds>
              <connectors>
                  <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
                      <port>80</port>
                  </connector>
              </connectors>
              <webAppConfig>
                  <contextPath>/</contextPath>
              </webAppConfig>
          </configuration>
      </plugin>
pom.xml

相关文章:

  • 2021-12-11
  • 2021-09-04
  • 2021-08-22
  • 2021-07-13
  • 2021-11-17
  • 2021-08-18
  • 2021-11-15
猜你喜欢
  • 2021-07-26
  • 2022-01-06
  • 2022-12-23
相关资源
相似解决方案