Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Listener Declaration

 
Amit Tayal
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
Please let me know whethere we can configure all the listener in single listener tag like
<listener>
<listener-class>com.MyServletContextListener</listener.class>
<listener-class>com.MyServletContextAttributeListener</listener.class>
</listener>


or we have to define them separately like

<listener>
<listener-class>com.MyServletContextListener</listener.class>
</listener>

<listener>
<listener-class>com.MyServletContextAttributeListener</listener.class>
</listener>



regards
Amit
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to define them separately.
Refer to the specification's diagram.
 
Amit Tayal
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Satou.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic