File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: HttpSessionListener in Grails
It's not a secret anymore!