Posts

Showing posts from January, 2023

Servlets JDBC using MySQL

Image
JAVA CRUD WEB APPLICATION USING SERVLETS & MYSQL       Every web application needs some backend to manage data. In java Sevlets allows you to connect with sevaral databases one of them is MySQL which is opensource and versatile. In this tutorial we are going to learn how to connect with MySQL database using Servlets. We are using eclipse IDE to create a Java Web Application. and also you are going to learn how to include bootstrap in servlets while showing the dynamic content on a webpage.  So First  Create a Dynamic Web Application in Eclipse. And create the files given below. MOVETOP↑   In user package User.java UserDao.java In default package  Addservlet.java ViewServlet.java EditServlet.java EditServlet2.java DeleteServlet.java In webapp folder index.html   Queries:   -- -- Database: `usersdb` --   CREATE TABLE IF NOT EXISTS `users` ( `id` int ( 10 ) NOT NULL AUTO_INCREMENT, `username` varchar ( 25 ) NOT NULL , `password` varchar ( 25 ) NOT NULL , `email`

JSP Tutorials Home

Image
 JSP Tutorials Home 🏠   JSP in Java. JSP stands for Java Server Pages. Using JSP, we can build websites using Java. To learn JSP, one should know basic and advanced Java. This tutorial will gives you an overview of JSP technologies and how to create a website using JSP. To get start career in java or go do project in your academics, you should know JSPs.  If you are a java beginner to Java? Visit the link and get start with Basic Java. JSP Introduction Implicity Objects in JSP Actions in JSP Directives in JSP JSTL Introduction JSTL Core Tags  JSTL XML Tags JSTL SQL Tags Top ↑

Java Servlets Home

Image
 Java Servlets Tutorials Home   Servlets in Java. Servlets server-side pages resides in the server, and serves to end user with some response as per the request. Using Servlets, we can build websites in Java. To learn Servlets, one should know basic and advanced Java. This tutorial will gives you an overview of Servlet technologies and how to create a website using Servlets. To get start career in java or to do project in your academics, you should know Servlets.  If you are a java beginner to Java? Visit the java Core Java tutorial and get start with Basic Java.   Java Servlets Introduction Sending Parameters to Servlet in Java Httpservlet Methods in Java Sendredirect in Servlets Servlet Cookies Sessions in Servlets ServletConfig in Java ServletContext in Java Using SendRedirect() in Java Servlets Servlet and Html  in Java Servlets JDBC using MySQL         Top ↑