同时由于它过滤了每个请求,你可以执行安全特定的逻辑以保证只有满足一定标准的请求才被允许通过。
And because it filters every request, you can perform security-specific logic to ensure only requests that meet certain criteria are allowed through.
servlet过滤器的用法包括与非jsf请求集成,通过重定向传播conversation,以及管理文件上传。
Uses of this servlet filter include integration with non-JSF requests, propagating conversations over redirects, and managing file uploads.
新的过滤器 API 使您可以在解析期间通过请求解析器接受、忽略一个节点及其子节点或者将它们从产生的树中删除,来检查和修改文档的结构。
The new filter API lets you examine and modify a document’s structure during parsing by asking a parser to accept, skip, or remove a node and its children from the resulting tree.
应用推荐