This website works better with JavaScript
Inicio
Explorar
Axuda
Iniciar sesión
zhzhenqin
/
jetty-simple-mvc
Seguir
1
Destacar
0
Fork
0
Ficheiros
Incidencias
0
Pull Requests
0
Wiki
jetty-simple-mvc
7
Achegas
1
Branches
0
Lanzamentos
Árbore:
e2dffbb4b9
Ramas
Etiquetas
master
jetty-simple...
HTTP
ZIP
TAR.GZ
zhzhenqin
e2dffbb4b9
change pom
%!s(int64=4) %!d(string=hai) anos
src
b38e77ac21
重构 mvc
%!s(int64=6) %!d(string=hai) anos
.gitignore
050d795303
add path content_type
%!s(int64=6) %!d(string=hai) anos
pom.xml
e2dffbb4b9
change pom
%!s(int64=4) %!d(string=hai) anos
readme.md
6adeaf536f
init project
%!s(int64=8) %!d(string=hai) anos
readme.md
简易 MVC 框架:
在 Controller 类上注解
@Action
表示这个类是一个 Action;
在 标注有
@Action
的类的方法上标注
@Path
("/for") 则代表通过 /path/for 能访问到该资源;
前端 HTML 模板用的 Freemarker