Category: Web Development
Spring Framework | How to define interceptor for a spring web project
Interceptors are components that intercept requests before passing to controller and responses before rendering the view. Interceptors can intercept request and response in our web application. With the help of interceptor we can check whether a user has the authority
Moodle / Totara | Null response on calling Plugin api from outside
Description: In one project we were invoking methods of a Moodle plugin from outside in the web app with the help of curl post requests. At the Moodle’s end, we have created a custom plugin and defined our methods in
Apache Solr | Finding term frequency of a specific term in Solr for indexed Documents
Document frequency and Term frequency are the terms that are generally used for finding relevance of the documents to the search query. When user types some word, then the number of documents containing the word returned in the result set
How to create a new Template in your Mandrill Account
1. Log in to your mandrill account with your credentials, you will see below screen after successful login: Fig 1: Logged In user Screen 2. Click on the outbound tab in the left pane of the above screenshot: Fig 2:
Get Cron Job execution notification via Mail
Whenever a cron job is executed, one can get email notification of cron job execution if the cron job doesn’t run successfully or there is a bug in cronjob file. These are the steps in Terminal 1.crontab -e 2.MAILTO =
Blackboard | Changing Course Entry Point
Blackboard LMS allows us to change the “course entry point” for Blackboard. We can set up Blackboard so that user always go to the specific section of Course page when they enter the course. The default course entry page is
Adding Google Map in web page using Javascript
How to add Google Map in your project and show markers and InfoWindows for various locations using HTML and Javascript. Google Map API is one of the most used APIs in websites and projects. We can use the API to
SVN Switch
I am assuming you are working on code from branch A (it may be trunk as well) and have already made some changes locally. Now you find you can’t commit your changes to SVN because they are not stable yet.
Java | SSL and SSLHandshakeException for self-signed websites
What are secure SSL Certificate? Secure SSL certificate is used by most of the websites to prevent private and secure information of their users so that no third party could access them. When an SSL certificate is used, it encrypts
