• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpSessionListener in Grails

 
Amit Sharma
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

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.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Run 'grails install-templates' and web.xml will be in src/templates/war. Then you can add anything you want to it.
 
Amit Sharma
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Very Much Gregg
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic