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

Add reCaptcha I m not a robot in JAVA websites

This tutorial shows how to add reCaptcha I m not robot in Websites using Servlet in JAVA and JSON. First login to google and go to the link https://www.google.com/recaptcha/admin#list You can see the Register a new site form as below. 2.1 Fill any Label 2.1 Enter your host name, Now I am giving domain name …

Continue reading

Integrate login with Facebook using JAVA

This tutorial helps you to integrate Facebook login in Java websites with the help of JAVASCRIPT. This is the simplest way I have found to do it. First register in https://developers.facebook.com/ and get the app ID for your APP. 1.1 Login first to the Developer site with your facebook ID and Click on Add a New App …

Continue reading