程序包的使用
org.apache.velocity.tools.view
-
类说明Simple utility class to hold a criterion and its result list.Class representing a navigation element已过时。Extends
Cookieto add some fluid API sugar and a toString() method that renders the Cookie's value instead of the usual Object.toString() shenanigans.Because sometimes you don't care about the difference between a servlet and a filter.The LinkTool provides many methods to work with URIs and can help you: construct full URIs (absolute or relative) encode session ID into a URI retrieve server, port and path info for the current request reconstruct or alter the current request URI and more..View tool for doing request-based pagination of items in an a list.A set of utility methods for supporting and using VelocityTools in the servlet environment.NOTE: This tool is considered "beta" quality due to lack of public testing and is not automatically provided via the default tools.xml file.NOTE: This class may change or disappear w/o warning; don't depend on it unless you're willing to update your code whenever this changes.The class provides the following features:A servlet to process Velocity templates.This interface provides view tools in a servlet environment access to relevant context information, like servlet request, servlet context and the velocity context.ToolContextimplementation specific to the servlet environment.Manages tools for web applications.