In this video I have shown how you can create a QR Code with logo in side the QR. We are using 2 jar files which should be added in ClassPath to create the QR file. The jars are, 1 . javase-2.2.jar 2 . zxing-core-2.0.jar QR_Generate.java package com.chillyfacts.com; import java.awt.AlphaComposite; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import …

In this video I have shown how you can solve the error like the one shown below, The archive: C:/Users/MIRITPC/Desktop/New folder (5)/New folder/mysql-connector-java-5.0.0-beta-bin.jar which is referenced by the classpath, does not exist. This error comes if when the jar file is dislocated from the path you added to the class path. To get the error …

In this video video I have shown how you can send Http Get Request and Post Request. Here I have used 2 websites which can send Get and Post requests which give JSON response. 1. ipinfodb.com -> We can send Get Request with IP address, It will give JSON response with details of IP address …

Java Switch statement executes if any of the cases in the switch is matched. Just like if-else-if ladder statement. Switch statements can be used only to String,int and enum parameters by default. 1.Java Switch with Integer Argument example. Java_Switch.java package com.chillyfacts.com; public class Java_Switch { public static void main(String[] args) { int i = 100; …

In this video I have shown how you can create a JSP file upload. This project is shown in Eclipse IDE. 1. Project Structure 2. The jar file used in the project are, 1.org.apache.commons.io.jar 2.commons-fileupload-1.3.1.jar 3. The servlet will upload the image to d:\uploaded_files folder FileUploadHandler.java package com.chilyfacts.com; import java.io.File; import java.io.IOException; import java.io.PrintWriter; import …