How to insert image in database using Spring MVC

This page will walk through How to insert an image in database using Spring MVC.  Spring framework uses the MultipartResolver interface to […]

Continue reading...

Eclipse/STS – Optimize/Remove unused imports shortcut keys

Ctrl + Shift + O is the shortcut key to optimize or remove the unused import from your code in […] Continue reading »

IntelliJ IDEA– Remove/Optimize unused imports shortcut keys

In IntelliJ IDEA, Ctrl + Alt + O is the shortcut keys to remove/optimize unused imports for Windows/Linux operating system, […] Continue reading »

Different ways to iterate/loop a List of Integers in Java

In Java, you can iterate or loop a List object in different ways. In this short example, you will find […] Continue reading »

Java- Find the element in the List having maximum value

In Java 8, Stream API’s max method returns the maximum element of this stream according to the provided Comparator and […] Continue reading »

Java- Find all Capital Letters in the String

In this short tutorial, we’ll find all the capital letters in the given String using Java. Character.isUpperCase(char ch) returns true […] Continue reading »

IntelliJ IDEA – Find file containing text shortcut

In IntelliJ IDEA, Ctrl + Shift + F is the shortcut key to find the file containing any text like […] Continue reading »

Spring Boot Cookies Example

In this article, we’ll explore how to use cookies in the Spring Boot application. A cookie is a small piece […] Continue reading »

MongoDB- ADD, MODIFY/RENAME, or DELETE Key

In MongoDB database, db.collection.update({criteria},{$operator: {new value}}) or db.collection.updateMany({criteria},{$operator: {new value}}) method is used to ADD, DELETE, or MODIFY/RENAME the existing […] Continue reading »

MongoDB- INSERT, SELECT, UPDATE, and DELETE Query

This page will help you to perform the basic query/operation with the MongoDB database like SELECT, INSERT, UPDATE, and DELETE. […] Continue reading »

How to set Username, Password, and Roles to MongoDB Database

In this guide, we’ll show you how to set username, password, and roles to the MongoDB database. MongoDB database instance […] Continue reading »

Generate QR Code using Spring Boot REST API

This tutorial will help you to expose REST API to generate the QR Code using the Spring Boot framework. QRGen library […] Continue reading »

1 14 15 16 17 18 45