[/url] [url=file:///F:/资料/文字资料/j2ee-1.4_doc/apidocs/overview-summary.html]Overview
Class
JavaTM 2 Platform
Ent. Ed. v1.4
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
javax.servlet
Interface ServletRequestAttributeListenerAll Superinterfaces: EventListener public interface ServletRequestAttributeListener extends EventListenerImplementations of this interface receive notifications of changes to the attribute list on the servlet request of a web application. To receive notification events, the implementation class must be configured in the deployment descriptor for the web application. 实现该接口会接收到web应用程序的servlet请求中列出的属性改变的通知。 为了接收到通知事件,实现类必须为web应用程序配置部署描述符。
Since: v 2.4 See Also: ServletRequestAttributeEventMethod Summary
void
attributeAdded(ServletRequestAttributeEvent srae)
Notification that a new attribute was added to the servlet request. 通知有新的属性被加入servlet请求。
void
attributeRemoved(ServletRequestAttributeEvent srae)
Notification that an existing attribute has been removed from the servlet request. 通知有存在的属性被删除出servlet请求。
void
attributeReplaced(ServletRequestAttributeEvent srae)
Notification that an attribute on the servlet request has been replaced. 通知有servlet请求中的属性被替换。
Method Detail
attributeAddedpublic void attributeAdded(ServletRequestAttributeEvent srae)
Notification that a new attribute was added to the servlet request. Called after the attribute is added. 通知有新的属性被加入servlet请求。在属性被增加后调用。
attributeRemovedpublic void attributeRemoved(ServletRequestAttributeEvent srae)
Notification that an existing attribute has been removed from the servlet request. Called after the attribute is removed. 通知有存在的属性被删除出servlet请求。在属性被删除后调用。
attributeReplacedpublic void attributeReplaced(ServletRequestAttributeEvent srae)
Notification that an attribute on the servlet request has been replaced. Called after the attribute is replaced. 通知有servlet请求中的属性被替换。在属性被替换后调用。
[/url][url=file:///F:/资料/文字资料/j2ee-1.4_doc/apidocs/overview-summary.html]Overview
Class
JavaTM 2 Platform
Ent. Ed. v1.4
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Submit a bug or feature Copyright 2003 Sun Microsystems, Inc. All rights reserved.