2009.05 15
Google App Engine Java SDK 1.2.1 新版出现,JSP编码中文问题解决
Google App Engine Java SDK1.2.1终于出来了!很荣幸地看到我提交的BUG(Issue1257)被作为重要的fix给补好了,从此jsp的中文问题彻底解决了!
这个1.2.1带来了这些新的变化:
- 增加了对 appengine-web.xml, cron.xml, and datastore-indexes.xml文件的效验。
- 新的<user-permissions>节点加入到appengine-web.xml中,支持定义第三方的权限系统。
- 支持任意的无索引datastore properties。
- 新增http proxy支持appcfg.sh
- Response 限制从1MB扩大到了10MB!
- 修复了Servlet version 2.5部分丢失的方法。
- 修复了ServletInputStream 一些bytes读取时的符号错误。
- Expect header,如100- continue现在会被忽略,不会引起500错误。
- 内置的commons-logging-1.2.1.jar不再会覆盖用户自己的。
- Groovy 权限支持了local runtime。
- 解决了一些JRE上的Reflection错误。
- <url-pattern>节点现在可以出现在<jsp-property-group>中
- JSP使用UTF-8编码时无法正确编译的问题
- 静态的welcome文件(首页,如index.html)现在优先于动态的welcome文件(如index.jsp).
- 支持Thread.setContextClassLoader()
- Content-Type not set in local implementation of URLFetch API .
- AppCfg request_logs command is limited to 100 lines .
- Timestamp added to datastore indexes file uses current locale .
此外还有一些对JDO/JPA的变化,都是一些很重要的fix和新的功能支持:
- 修复了自定义@Order的问题
- 支持字段限制
- query literals支持doubles
- 支持BigDecimal fields
- 支持在持久化时使用类的父类
- 等等其他变化……