Blog
Test forward method of Controller
17 Oct, 15

Test forward method of Controller

This blogpost titled “Test forward method of Controller” explains the technique that can be used to test forward method of controller. Recently, I was writing test cases in grails to test an action : [php] def performAction() { forward(controller:...
Working with Stripe in Grails
30 Aug, 15

Working with Stripe in Grails

In a recent project, I got a requirement to integrate a Payment gateway. I choose Stripe as it is PCI Level 1 complaint which is the most stringent level of all 4. Following are the steps to integrate stripe in Grails. Create an Account on Stripe. Goto Account...
Using dynamic path in Jasper Report
30 Jul, 15

Using dynamic path in Jasper Report

In this post, I will explain how we can add images using dynamic path in Jrxml. First of all, we need to add the image component to JRXML file. Click on Window Menu> Palette and then drag-drop the image component on the designer window. Once we add image component...
URL mapping with constraints in Grails
12 Jun, 15

URL mapping with constraints in Grails

Hi guys,I am back with my new blog post. As some times we have scenario to map specific URL for example “www.myexample.com/someusername” we can do this mapping easily '$_username'{ controller= "profile" action= "show" } but the issue is...