Logo
Header Main navigation
  • Who we are
    • About
      • About us
      • GenAI in Action
      • Leadership
      • Partners
      • Newsroom
      • Awards & Analyst Relations
      • CSR
      • Events
      • Careers
    • Insights
      • Case Studies
      • Whitepapers
      • Webinars
      • Newsletter
      • Podcasts
      • Blogs
      • Articles
      • Brochure
      • Testimonial
      • Video
  • What we do
    • Services
      • Generative AI
      • Digital Engineering
      • Quality Engineering
      • Cloud
      • Data
      • Digital Experience
      • Digital Marketing
    • Industries
      • Technology
      • Media & Entertainment
      • Financial Services
      • Healthcare
      • iGaming
    • Solutions
      • HAWK | Infra monitoring & Log Analytics
      • Prism | AI-based Test Automation
      • Nimbus | Custom Data Ingestion Solution
      • VideoReady | OTT & Video CMS framework
      • BOLT | Faster AEM Development
      • Technologies
  • InfAInite GPT
    • Generative AI
    • GenAI in Action
  Contact us
 
Home > Insights > Blogs > Abhishek Tejpaul

Blogs

Told you, we love sharing!

Abhishek Tejpaul
Grails

Grails

Iterate through two distinct dates – Groovy 2.2

Hi everyone, Ever wished for a 'groovier' way to iterate through two distinct dates? Well, Groovy 2.2 gives you two methods via the 'DateGroovyMethods' class to do exactly that: upto() and downto(). Here is the code showing the usage: [java] Date startDate = new Date() - 7 Date endDate = new Date() startDate.upto(endDate) { it...

Abhishek Tejpaul
Abhishek Tejpaul April 13, 2014
Read→

Grails

Day One at Groovy & Grails eXchange 2013

The day one at GGX 2013 London was really awesome. The atmosphere, the sessions and the speakers really made the day wonderful. We could feel the buzz and energy of the thriving and closely knitted Groovy/Grails community all day long. The show was very well managed by Skills Matter and nicely driven by Peter Ledbrook. Here are some...

Abhishek Tejpaul
Abhishek Tejpaul December 13, 2013
Read→

Grails

Grails GSP tag: grep

The other day I was reading the Grails docs and I came across a useful GSP tag: grep. I have been using Grails for over 3 years now but just recently got to see this new tag which has eased my life a bit in situations where the list of objects have to be filtered and iterated at the same time to perform some operations on them. The GSP...

Abhishek Tejpaul
Abhishek Tejpaul October 31, 2012
Read→

Technology

Sending email through command line with Mutt

In one of the shell scripts I was reading I saw a usage of mutt text-based command line email client. Mutt can be used to send out the emails from the production machines or any other servers where you do not have access to the browsers or UI based email clients. Sometimes it is essential to send out a particular log file to certain...

Abhishek Tejpaul
Abhishek Tejpaul September 12, 2012
Read→

Technology

Using git diff feature on Github

Hi Folks, Recently I came across a cool way to compare differences between two branches, two tags, or between two commits on Github. Many a times in our project we have to thoroughly see what has been a specific change in the code base before we push it on our production branch. Here is how you can view the differences in commits: On...

Abhishek Tejpaul
Abhishek Tejpaul June 7, 2011
Read→

Technology

Fetching an old deleted file of a project using Git

Recently in one of my projects, I had to bring the content of old-forgotten-deleted file back to the application code base using Git. The problem took a 'fancy' turn as the path to the file was no more a valid path in Git as there had been a major refactorings in our project esp. renaming of the packages as well as the folder structure...

Abhishek Tejpaul
Abhishek Tejpaul November 15, 2010
Read→

Technology

Passing parameters to sub-reports in Jasper

In one of our recent project, we made quite a good use of Grails Jasper plugin (v-0.9.7) to generate reports in the form of PDFs and Excel sheets. The reports contain sub-reports, which in many cases, contain sub-reports again. The way to pass parameters to sub-reports at the deeper level is to use the following tag in the .jrxml file:...

Abhishek Tejpaul
Abhishek Tejpaul September 15, 2010
Read→

Grails

Grails Transactions using @Transactional annotations and Propagation.REQUIRES_NEW

Hi All, Here is how you can implement a new transaction in an already executing transaction in Grails which uses nothing but Spring framework's Transaction mechanism as an underlying implementation. Spring provides @Transactional annotations to provide declarative transactions. We can use the same in our Grails project to achieve the...

Abhishek Tejpaul
Abhishek Tejpaul July 30, 2010
Read→

Technology

Tomcat 6 in-memory session replication

Hi All, Here are the few basic steps that you need to follow in order to achieve the in-memory session replication between two or more Tomcat 6 instances. This blog refers the Apache Tomcat documentation as found here: http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html. The Tomcat documentation provides more detailed...

Abhishek Tejpaul
Abhishek Tejpaul July 22, 2010
Read→

Technology

Tomcat 6 Session Persistence through JDBCStore

In one of our recent projects, we needed to save the HTTP session in the database. This blog refers the Apache documentation as found here: http://tomcat.apache.org/tomcat-6.0-doc/config/manager.html These are the following steps that need to be followed: Step 1: Create a database named tomcat (as shown in our example in Step 3...

Abhishek Tejpaul
Abhishek Tejpaul July 21, 2010
Read→

Grails

Finding User’s Session Locale in GSP

There are situations where you might want to know the Locale of the user as set in the session in your GSP so that you can show text in a particular language/manner. Here the Spring framework's SessionLocaleResolver can come to the rescue. In one of our recent Grails projects, we did the following in one of our GSPs to display the content...

Abhishek Tejpaul
Abhishek Tejpaul July 14, 2010
Read→

Grails

Configuring multiple senders in Grails Mail plugin

In one of the recent projects, we had to set up a system where emails for different purposes (i.e registration, error reporting etc.) were to be sent out from different email accounts. We were using the Grails Mail plugin which does not provide a clear way to set-up or configure multiple email addresses. With the help of my colleague,...

Abhishek Tejpaul
Abhishek Tejpaul June 14, 2010
Read→

Post navigation

Older posts
Archive
  • 2026
    • Jan
    • Feb
    • Mar
    • Apr
    • May
  • 2025
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2024
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2023
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2022
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2021
    • Feb
    • Mar
    • May
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2020
    • Mar
    • Jul
  • 2019
    • Jan
    • Mar
    • May
    • Jun
    • Jul
    • Aug
    • Dec
  • 2018
    • Jan
    • Feb
    • Mar
    • Apr
    • Jun
    • Nov
  • 2017
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2016
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2015
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2014
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2013
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2012
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2011
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2010
    • Jan
    • Feb
    • Mar
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2009
    • Jan
    • Mar
    • Apr
    • May
    • Jul
    • Aug
    • Sep
    • Oct
    • Nov
    • Dec
  • 2008
    • Feb
    • Apr
    • May
    • Jun
    • Jul
    • Aug
    • Sep
Who we are
  • About
  • Leadership
  • Awards
  • Events
  • Privacy Policy
  • Press Releases
  • Media Coverage
  • Partners
  • CSR
  • Modern Slavery Statement
What we do
  • Services
  • Technologies
  • Solutions
  • Industries
  • Idanim
Knowledge
  • Blogs
  • Success Stories
  • Whitepapers
  • Webinars
  • Podcasts
  • Newsletter
  • Article
  • Brochure
  • Testimonial
  • Video
Contact Us
  • Career
  • Join us!
  • Request for Services
  • Media Queries
  • Responsible Disclosure
Follow us on
  • ln
  • twt
  • fb
  • Glassdoor
 
To The New
black-footer-logo

©2026 TO THE NEW

Services
Digital Marketing
  • Web Analytics
  • Social Listening
  • Digital Analytics
  • Search Engine Optimization
  • Email Marketing
  • Marketing Automation
  • Digital Marketing
  • Influencer Marketing
  • Content Marketing
  • Social Media Marketing
  • Creative Strategy
  • Digital Campaigns and Activations
  • Media planning and buying
  • Search Marketing
  • Digital Strategy
Backend Engineering
  • Python Development
  • Node.js Development
  • Grails Development
  • Java Development
  • MEAN Development
  • JavaScript Engineering
Web Content Management
  • AEM Development
  • Drupal Development
Cloud & DevOps
  • DevOps as a Service
  • DevOps on AWS
  • DevOps Tools
Digital Transformation
  • Digital Transformation
Experience Design
  • Experience Design
Mobility
  • Mobility
  • iOS App Development
  • Android Development
  • Smart TV App Development
  • Mobile Automation Testing
Frontend Engineering
  • AngularJS Development
  • React Native Development
  • React js Development
Product Engineering
  • Software Product Engineering
Video Solutions
  • Video Solutions
  • Video Managed Services
  • Multiscreen Solutions
Software Development
  • Offshore Software Development
  • Outsourced Software Product Development
  • Custom Software Development
  • Bespoke Software Development
Web Application Development
  • Idanim
  • Custom Web Application Development
  • Outsource Web Application Development
Development Center
  • Offshore Development Center

Tips for writing a blog

Learn how to write a caption