| 方法和说明 |
|---|
| cn.imaq.tompuss.servlet.TPHttpServletResponse.encodeRedirectUrl(String)
As of version 2.1, use
encodeRedirectURL(String url) instead
|
| cn.imaq.tompuss.servlet.TPHttpServletResponse.encodeUrl(String)
As of version 2.1, use encodeURL(String url) instead
|
| cn.imaq.tompuss.servlet.TPHttpServletRequest.getRealPath(String)
As of Version 2.1 of the Java Servlet API,
use
ServletContext.getRealPath(java.lang.String) instead. |
| cn.imaq.tompuss.servlet.TPServletContext.getServlet(String)
As of Java Servlet API 2.1, with no direct replacement.
This method was originally defined to retrieve a servlet
from a
In lieu of this method, servlets can share information using the
|
| cn.imaq.tompuss.servlet.TPServletContext.getServletNames()
As of Java Servlet API 2.1, with no replacement.
This method was originally defined to return an
|
| cn.imaq.tompuss.servlet.TPServletContext.getServlets()
As of Java Servlet API 2.0, with no replacement.
This method was originally defined to return an
|
| cn.imaq.tompuss.session.TPHttpSession.getSessionContext()
As of Version 2.1, this method is
deprecated and has no replacement.
It will be removed in a future
version of the Java Servlet API.
|
| cn.imaq.tompuss.session.TPHttpSession.getValue(String)
As of Version 2.2, this method is
replaced by
TPHttpSession.getAttribute(java.lang.String). |
| cn.imaq.tompuss.session.TPHttpSession.getValueNames()
As of Version 2.2, this method is
replaced by
TPHttpSession.getAttributeNames() |
| cn.imaq.tompuss.servlet.TPHttpServletRequest.isRequestedSessionIdFromUrl()
As of Version 2.1 of the Java Servlet
API, use
TPHttpServletRequest.isRequestedSessionIdFromURL()
instead. |
| cn.imaq.tompuss.servlet.TPServletContext.log(Exception, String)
As of Java Servlet API 2.1, use
TPServletContext.log(String message, Throwable throwable)
instead.
This method was originally defined to write an exception's stack trace and an explanatory error message to the servlet log file. |
| cn.imaq.tompuss.session.TPHttpSession.putValue(String, Object)
As of Version 2.2, this method is
replaced by
TPHttpSession.setAttribute(java.lang.String, java.lang.Object) |
| cn.imaq.tompuss.session.TPHttpSession.removeValue(String)
As of Version 2.2, this method is
replaced by
TPHttpSession.removeAttribute(java.lang.String) |
| cn.imaq.tompuss.servlet.TPHttpServletResponse.setStatus(int, String)
As of version 2.1, due to ambiguous meaning of the
message parameter. To set a status code
use
setStatus(int), to send an error with a description
use sendError(int, String).
Sets the status code and message for this response. |
| cn.imaq.tompuss.io.TPOutputStream.toString(int) |