Tiny Java MVC Framework.
Requirements
- Java8+
Dependency
Apache Maven
1 | 复制代码`<dependency>` |
Apache Buildr
1 | 复制代码`'com.nosuchfield:geisha:jar:1.0.0-RELEASE'` |
Apache Ivy
1 | 复制代码`<dependency org="com.nosuchfield" name="geisha" rev="1.0.0-RELEASE" />` |
Groovy Grape
1 | 复制代码`@Grapes(` |
Gradle/Grails
1 | 复制代码`compile 'com.nosuchfield:geisha:1.0.0-RELEASE'` |
Scala SBT
1 | 复制代码`libraryDependencies += "com.nosuchfield" % "geisha" % "1.0.0-RELEASE"` |
Leiningen
1 | 复制代码`[com.nosuchfield/geisha "1.0.0-RELEASE"]` |
Example
1 | 复制代码@Component |
1 | 复制代码public class Application { |
Run Application and visit http://127.0.0.1:5200/person/info?name=张三&age=18
Result:
1 | 复制代码`hello 张三, your age is 18` |
License GPL
Project License can be found here.
本文转载自: 掘金