-2

What different between org.codehaus.groovy.grails.web.servlet and grails.app.controllers? It seems that both of them can configuring controllers. org.codehaus.groovy.grails.web.servlet not work , grails.app.controllers work ...

Nipun
  • 2,217
  • 5
  • 23
  • 38

1 Answers1

0

What different between org.codehaus.groovy.grails.web.servlet and grails.app.controllers?

org.codehaus.groovy.grails.web.servlet applies to classes in the Grails framework. grails.app.controllers applies to controllers in your application or plugin (until Grails 3.3 when we got rid of that prefix for the logger names).

Jeff Scott Brown
  • 26,804
  • 2
  • 30
  • 47