What's New in Version 2.1
New Classes
Newly Deprecated Classes
New Methods
- void GenericServlet.log(String message, Throwable t)
- void ServletContext.log(String message, Throwable t)
- boolean HttpServletRequest.isRequestedSessionIdFromURL()
- String HttpServletResponse.encodeURL()
- String HttpServletResponse.encodeRedirectURL()
- void GenericServlet.init() throws ServletException
- HttpSession HttpServletRequest.getSession()
- int ServletContext.getMajorVersion()
- int Servlet Context.getMinorVersion()
- ServletException(String message, Throwable rootCause)
- Throwable ServletException.getRootCause()
- RequestDispatcher ServletContext.getRequestDispatcher(String uripath)
- void RequestDispatcher.forward(ServletRequest req, ServletResponse res)
throws ServletException, IOException
- void RequestDispatcher.include(ServletRequest req, ServletResponse res)
throws ServletException, IOException
- void ServletContext.setAttribute(String name, Object object)
- void ServletContext.removeAttribute(String name)
- ServletContext ServletContext.getContext(String uripath)
- URL ServletContext.getResource(String uripath) throws MalformedURLException
- InputStream ServletContext.getResourceAsStream(String uripath)
- void HttpSession.setMaxInactiveInterval(int interval)
- int HttpSession.getMaxInactiveInterval()
Newly Deprecated Methods
- ServletContext.log(Exception e, String msg)
- ServletRequest.getRealPath(String path)
- HttpSession.isRequestedSessionIdFromUrl()
- HttpServletResponse.encodeUrl()
- HttpServletResponse.encodeRedirectUrl()
- ServletContext.setStatus(int sc, String sm)
- ServletContext.getServlet()
- HttpSession.getSessionContext()
|