Skip to content

ivanzhu109/JerryCat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

JerryCat

简易版Tomcat

快速入手

  1. 引入JerryCat依赖
<dependency>
    <groupId>com.ivan</groupId>
    <artifactId>jerryCat</artifactId>
    <version>{version}</version>
</dependency>
  1. 在resources中维护配置文件server.xml

文件内容如下

<server>
   <port>{服务启动端口号}</port>
   <servletPackage>{servlet包路径}</servletPackage>
</server>
  1. 创建启动类,实例代码如下
public class Demo {
    public static void main(String[] args) {
        ApplicationStarter.run(Demo.class);
    }
}

About

简易版Tomcat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages