org.springframework.web.util |
Miscellaneous web utility classes, such as HTML escaping,
Log4J initialization, and cookie handling.
|
Java Source File Name | Type | Comment |
CookieGenerator.java | Class | Helper class for cookie generation, carrying cookie descriptor settings
as bean properties and being able to add and remove cookie to/from a
given response. |
ExpressionEvaluationUtils.java | Class | Convenience methods for transparent access to JSP 2.0's built-in
javax.servlet.jsp.el.ExpressionEvaluator or the standalone
org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager of Jakarta's JSTL implementation.
Automatically detects JSP 2.0 or Jakarta JSTL, preferring the JSP 2.0
mechanism if available. |
HtmlCharacterEntityDecoder.java | Class | Helper for decoding HTML Strings by replacing character
entity references with the referred character. |
HtmlCharacterEntityReferences.java | Class | Represents a set of character entity references defined by the
HTML 4.0 standard. |
HtmlUtils.java | Class | Utility class for HTML escaping. |
HttpSessionMutexListener.java | Class | Servlet 2.3 HttpSessionListener that automatically exposes the
session mutex when an HttpSession gets created.
To be registered as a listener in web.xml .
The session mutex is guaranteed to be the same object during
the entire lifetime of the session, available under the key defined
by the SESSION_MUTEX_ATTRIBUTE constant. |
IntrospectorCleanupListener.java | Class | Listener that flushes the JDK's
java.beans.Introspector JavaBeans Introspector cache on web app shutdown. |
JavaScriptUtils.java | Class | Utility class for JavaScript escaping. |
Log4jConfigListener.java | Class | Bootstrap listener for custom Log4J initialization in a web environment.
Delegates to Log4jWebConfigurer (see its javadoc for configuration details).
WARNING: Assumes an expanded WAR file, both for loading the configuration
file and for writing the log files. |
Log4jConfigServlet.java | Class | Bootstrap servlet for custom Log4J initialization in a web environment.
Delegates to Log4jWebConfigurer (see its javadoc for configuration details).
WARNING: Assumes an expanded WAR file, both for loading the configuration
file and for writing the log files. |
Log4jWebConfigurer.java | Class | Convenience class that performs custom Log4J initialization for web environments,
allowing for log file paths within the web application, with the option to
perform automatic refresh checks (for runtime changes in logging configuration).
WARNING: Assumes an expanded WAR file, both for loading the configuration
file and for writing the log files. |
NestedServletException.java | Class | Subclass of ServletException that properly handles a root cause in terms
of message and stacktrace, just like NestedChecked/RuntimeException does. |
TagUtils.java | Class | Utility class for tag library related code, exposing functionality
such as translating
String Strings to web scopes. |
UrlPathHelper.java | Class | Helper class for URL path matching. |
WebAppRootListener.java | Class | Listener that sets a system property to the web application root directory.
The key of the system property can be defined with the "webAppRootKey" init
parameter at the servlet context level (i.e. |
WebUtils.java | Class | Miscellaneous utilities for web applications. |