MCQs
TLDs are located in an application's /web-app/WEB-INF/tld/ directory.
To create a Grails application, invoke the following command wherever you wish to create an application: grails create-app grailsappname.
For this option, you have to explicitly specify a Spring-specific test runner for running your test”SpringJUnit4ClassRunner. You can specify this in the @RunWith annotation at the class level.
It generates a skeleton domain class file named domain class name.groovy inside the /grails-app/domain/ directory.
Since the explicit configuration of an application's locale takes precedence over a user's browser language preferences, there is no default configuration present in an application's resource.groovy file.
Log4J configuration parameters are specified inside the Config.groovy file.
Note, this is for classpath resources and is not appropriate, for example, for web application resources. For that you need src/main/webapp.
The TestContext framework provides several test execution listeners for common testing features, but you are free to create your own.
In the project directory, in the standard shell, run mvn tomcat:run or mvn jetty:run, and open http://localhost:8080 in your browser.
Once it has picked an appropriate handler, it will invoke this handler to handle the request.