It's not a secret anymore!*
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 Android Security Essentials Live Lessons this week in the Android 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: 15299

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
I agree. Here's the link:
subject: HttpSessionListener in Grails
Similar Threads
What does Groovy/Grails offer?
What can I access from /grails-app/src/java (and /grails-app/src/groovy)
How to integrate flex with grails?
Grails: A Quick Start Guide Question