【发布时间】:2013-06-19 11:43:59
【问题描述】:
我想构建一个这样的动态网络项目:
方法:GET |发布 |删除 接口地址:http://example.com/api/
例子:
- 我需要通过执行 URL 来获取用户:http://example.com/api/users/user_id/
- 通过执行URL获取用户相册列表:http://example.com/api/users/user_id/list/
- ...
那么你能帮助我如何使用 STRUTS 2 来做到这一点。 如果可以的话,请解释一下。
【问题讨论】: