【IT168 业界新闻】
Sun发布了JSR-154 Java Servlet 2.5,较以前的版本,它有一些小的但比较实际的变化。
具体的变化有:
更新了Java Enterprise Edition的需求
阐明了HttpServletRequest.getRequestURL()
从HttpSession.getId()中删除了IllegalStateException
在Java EE web应用程序中需要web.xml文件
将getContextPath()方法添加到ServletContext
maintenance release下载地址
http://jcp.org/en/jsr/detail?id=154