ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Java Web框架Stripes1.5发布

Java Web框架Stripes1.5发布

原创 Linux操作系统 作者:Java006 时间:2008-08-21 15:19:43 0 删除 编辑
Stripes是一个MVC类型的Java Web框架,也是最早采用Annotation实现了零配置文件的Java Web框架。Stripes虽然没有Struts,Spring MVC等框架著名,但是也是一个简单、易用,而且可以和Spring进行良好整合的Web框架,有兴趣的朋友可以试试看。

Stripes1.5版本有如下改进:

# Even less configuration! Stripes can automatically locate and use your extensions (TypeConverter, Formatter, ExceptionHandler, ActionBeanContext, etc.). Most applications can now be configured with just two parameters.

# Request parameters can be embedded in the request URL and used just like normal parameters. Clean URLs are fully supported by s:link, s:url, and s:form. Use the new DynamicMappingFilter for even more flexibility.

# @StrictBinding annotation to restrict binding only to those properties you wish to allow.

# @Validate(encrypted=true) to encrypt ActionBean property values before they are written to a page in a link or form. input.

# @DontBind annotation to completely bypass both binding and validation for an event.

# AJAX-friendly features like partial forms and @HttpCache annotation to control client-side caching.

# The s:format tag brings the power of Stripes formatters to your views. Formatters are also used by all tags and resolutions, leaving String.valueOf() as a last resort for converting objects to strings.

更详细的改进请看:
http://stripesframework.org/display/stripes/2008/08/18/Stripes+1.5+Release+Available

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/14734416/viewspace-431678/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-07-07

  • 博文量
    122
  • 访问量
    575102