Read Write to excel using JAVA

 In this video, I have shown how you can create an excel file using java. 1. Project structure. 2. DB_Connection.java, This connection class is used to connect with database. You will need to update the host,dbname,username and password according to your project. package jinuclass; import java.sql.Connection; import java.sql.DriverManager; public class DBConnection_HR { public Connection …

Continue reading

Earn Money by adding captchas in websites

In this video I have shown how you can earn money by adding captchas in your website. In this example I have shown with JAVA JSP as my webpage. You can use the same method for any front end technologies. You can download the source code I have shown in the video here solvemedia.zip

Continue reading

JAVA JSP file upload example source code

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 …

Continue reading

Java JSP MySql CRUD Project

In this video tutorial series I have shown how to create Create Read Update Delete (CRUD) in Java Server Pages(JSP). Project Structure in Eclipse DB_Connection.java package common; import java.sql.Connection; import java.sql.DriverManager; public class DB_Connection { public static void main(String[] args) { DB_Connection obj_DB_Connection=new DB_Connection(); System.out.println(obj_DB_Connection.get_connection()); } public Connection get_connection(){ Connection connection=null; try { Class.forName(“com.mysql.jdbc.Driver”); connection …

Continue reading

Add CSS to JAVA JSP MYSQL project

In this video I have shown how to add CSS in a JAVA JSP project. Download the Project the CSS added here Login_Project.zip Download the Project without CSS Login_Project Watch from beginning all the step by step how you can create this Login Project Java Jsp MySql login Project Part 1 https://www.youtube.com/watch?v=rC1kZewgb94 JSP login Form …

Continue reading

Get IP address Location of Client/User JAVA web project

This project shows how to take IP address of user in your Web Project. And you can use the IP address to predict the location where they are using. Update the Key after registering in the website https://ipinfodb.com/ Get_Location_From_IP.java package Modal; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; public class Get_Location_From_IP { public Location_Use_Bean get_ip_Details(String ip) …

Continue reading

How to download excel file from website- Java / Jsp

This JAVA Dynamic web project shows how to download Excel file from JSP file. The project Structure in Eclipse This program uses poi-3.9-20121203.jar. You can download it here poi-3.9-20121203. Add this jar to Classpath download_excel.jsp <%@ page language=”java” contentType=”text/html; charset=ISO-8859-1″<%@ page language=”java” contentType=”text/html; charset=ISO-8859-1″    pageEncoding=”ISO-8859-1″%> <!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”> <html> <head><meta …

Continue reading