my dog learned polymorphism
The moose likes Groovy and the fly likes HttpSessionListener in Grails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "HttpSessionListener in Grails" Watch "HttpSessionListener in Grails" New topic

HttpSessionListener in Grails

Amit Sharma
Ranch Hand

Joined: Nov 22, 2005
Posts: 87

How can i add hrrpsessionlistener in grails. I didn't find any web.xml where i can put listener mapping for listener classes. Is there any other place where i can give listener specific declarations.

Amit Sharma SCJP 1.4, SCWCD 5, OCUP-100(UML)
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Run 'grails install-templates' and web.xml will be in src/templates/war. Then you can add anything you want to it.

GenRocket - Experts at Building Test Data
Amit Sharma
Ranch Hand

Joined: Nov 22, 2005
Posts: 87
Thanks Very Much Gregg
Consider Paul's rocket mass heater.
subject: HttpSessionListener in Grails
It's not a secret anymore!