Recently i had the opportunity to show an exciting crowd a presentation about [Groovy][groov] & [Grails][grails]. This happend during the [Devnology Community][devnology] Event at Baarn. If you want to view the presentation [check it out here!][presentation]. ##Links: * [Groovy][groov] * [Grails][grails] * [Presentation Introduction to Groovy and Grails][presentation] * [Devnology][devnology] [...]
Currently Browsing
Posts Tagged ‘ java ’
4 oktober
Posted in
Groovy and Grails, Programming
Using MySQL instead of in-memory database for a Grails application
A Grails application by default uses a in-memory HSQL database. To switch to a MySQL database the steps are simple and straightforward. * Download the MySQL JDBC driver [called a connector] from the [MySQL website][1] * Extract the zip or tar archive * Copy the driver (at this time of [...]
1 oktober
Posted in
Groovy and Grails
Changing default homepage for a Grails application
You can set the default homepage for a Grails application by modifying the `grails-app/conf/UrlMappings.groovy` file. In a new Grails application this file will look like class UrlMappings { static mappings = { “/$controller/$action?/$id?”{ constraints { // apply constraints here } } “/”(view:”/index”) “500″(view:’/error’) } } Replace the line: “/”(view:”/index”) with: [...]