they can be used to react to session and request level lifecycle events, such as when an attribute is added to the session, or removed from the session. In tags I guess this would translate to changing the behavior of a tag according to whether an attribute has been successfully been added to the request or session level. I havent seen anyone use these to date
chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
Raj Paul
Ranch Hand
Joined: Jul 09, 2002
Posts: 77
posted
0
Hi chanoch I have tried the events...but nothing is happening ? Anybody tried this in any server. i am using orion server. Raj Paul
Lisening tag is a new feature of the new version of JSP. So in order to test it you should make sure you app server supports the new JSP spec JSP 2.3.
Shawn Bayern
Author
Ranch Hand
Joined: May 06, 2002
Posts: 160
posted
0
The <listener> element in the JSP 1.2 TLD is useful for registering a Servlet 2.3-style listener on whose behavior a taglib depends. As an example, a tag library might want to ensure that certain values are initialized before running.
Raj Paul
Ranch Hand
Joined: Jul 09, 2002
Posts: 77
posted
0
Hello everybody, anybody can give me a URL where i can find examples abt this ?