REST风格的MVC框架 WebWind

码农软件 · 软件分类 · REST/RESTful项目 · 2019-03-11 17:14:31

软件介绍

WebWind是一个全新的REST风格的Java MVC框架。和传统的Struts不同,WebWind让你轻松映射URL并直接从URL中提取参数。WebWind非常精简,仅86KB(包含源码),可以直接和Spring、Guice等IoC框架集成,并支持 Velocity等众多第三方组件。

示例代码:

import org.expressme.webwind.Mapping;

public class MyPage {

   
@Mapping("/hello")
   
public String hello() {
       
return "<h1>Hello, world</h1>";
   
}

   
@Mapping("/hello/$1")
   
public String hello(String name) {
       
return "<h1>Hello, " + name + "</h1>";
   
}
}

本文地址:https://codercto.com/soft/d/1126.html

C++ How to Program (5th Edition) (How to Program)

C++ How to Program (5th Edition) (How to Program)

Harvey & Paul) Deitel & Associates / Prentice Hall / 2005-01-05 / USD 98.00

With over 250,000 sold, Harvey and Paul Deitel's C++ How to Program is the world's best-selling introduction to C++ programming. Now, this classic has been thoroughly updated! The Deitels' groundbreak......一起来看看 《C++ How to Program (5th Edition) (How to Program)》 这本书的介绍吧!

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具