Posts

Spring Boot

 pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.7.1</version> <relativePath/> <!-- lookup parent from repository --> </parent> <groupId>com.example</groupId> <artifactId>Practice</artifactId> <version>0.0.1-SNAPSHOT</version> <name>Practice</name> <description>Demo project for Spring Boot</description> <properties> <java.version>17</java.version> </properties> <dependencies>

JSP

 JSP INSERT JAVA PAGE package com.gd.controller; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse;   import java.sql.*; @WebServlet("/Insert") public class Insert extends HttpServlet{ @Override     protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {                  try {         Class.forName("com.mysql.cj.jdbc.Driver"); String url = "jdbc:mysql://localhost:3306/emp?characterEncoding=latin1";             String username = "root";             String password = "1234";             Connection con = DriverManager.getConnection(url, username, password);             if (con != null) {                 System.out.printl

How to deal with multiple window in Python Tkinter with SQLite3 as database

Image
 How to deal with multiple windows in Python Tkinter with SQLite3 as database VIDEO LINK :  My Course Website :  www.codewithnavodit.rf.gd/ My Youtube Channel :  Navodit Sachdeva Output Window :  Source Code :  from Tkinter import * import tkMessageBox import sqlite3 def check():     window = Tk()     window.title("Data are as follows")     window.geometry("300x350")     window.maxsize(300,250)     window.minsize(300,250)     button1 = Button(window, text = "Show Records", fg = "white", bg = "brown",                         font = "time 15 bold", width = 16, command = show)     button1.place(x= 50, y = 50)     button2 = Button(window, text = "Put Records", fg = "white", bg = "brown",                         font = "time 15 bold", width = 16, command = put)     button2.place(x= 50, y = 150)     window.mainloop() def put():     root = Tk()     root.title("Data are as follows")  

How to make program on Linear Search in C- Language

Image
How to make program on Linear Search in C- Language How  to make program on linear search in c - language. Before starting this first we have to know what is linear search. So, linear search is an searching technique which can able to search or to check whether the element is present in an Array or not or in list. In this blog we provide you code based on how to make an program on linear search plus a tutorial video with an complete lecture or an awesome explanation based on program plus you also get related programming lecture on C- Language and plus you can get best technical support. So, below is video link and a subscribe button to subscribe our You Tube channel. Lecture Link Codes of program are SUBSCRIBE BUTTON Lecture Link If you have any question then you can also mail me an my email or you can also comment below. E-mail

2's complement how computer add and subtract the numbers

Image
2's complement how computer add and subtract the numbers 2's complement provide a method how computer subtract by using 2's complement. Computer only knowns how to add by using logical circuit but with the help of 2's complement we are able to calculate the operation of subtraction. Here are some videos related to this topics-   2's complement how computer add and subtract the numbers                                            You can also subscribe our channel-     SUBSCRIBE Here are few examples-

Common bus system in computer organisation and architecture

Image
COMMON BUS SYSTEM IN COMPUTER ORGANISATION AND ARCHITECTURE COMMON BUS SYSTEM IN COMPUTER ORGANISATION AND ARCHITECTURE Theory part is: You can also able to get lecture on this topic in English as well as Hindi. The link are give below: For English: For Hindi: You can also subscribe my channel for getting the latest updates. SUBSCRIBE For any question you can mail me Email

Asynchronous data transfer strobe control and handshaking

Image
Asynchronous data transfer strobe control and handshaking In this blog you will know we will discuss about  Asynchronous data transfer strobe control and handshaking we will cover up the following points given below- Asynchronous data transfer strobe control and handshaking in which i will also discuss source initiatives and destination initiatives with timing dig. You can also watch a video lecture based on this topic. You can also subscribe our channel on YouTube. SUBSCRIBE BUTTON There is also a notes provide on this topic in picture format so, you can download it. You can also subscribe our channel on YouTube. SUBSCRIBE BUTTON