Java JSP and Servlets tutorials
We want to create a small web application (library), that illustrates the usage of JavaServer Pages combined with Java Servlets. We use the JavaServer Pages to display data (presentation) and the servlets to control and call the business logic of the web application.
Related Tutorials
Creating Java Servlets With NetBeans
Learn to create Java servlets in the NetBeans IDE. The tutorial creates a basic mailing list and explores file access along with some DOM XML. Also covered is deploying the servlets with Glassfish.
Servlet Essentials
This document explains the concepts of Java Servlets and provides a step-by-step tutorial for writing HTTP Servlets with complete source code for the example Servlets. The tutorial and the other chapters cover all facets of Servlet programming from a simple "Hello World" Servlet to advanced Servlet features like session tracking and Cookies. There are also appendices on compiling and running Servlets. The reader is assumed to have some basic knowledge of HTML and Java programming.
JSP Tutorial For Beginners
JSP is part of the Java technology family. JSP technology is a key component in a highly scalable architecture for web-based applications. A JSP is translated into Java servlet before being run, and it processes HTTP requests and generates responses like any servlet. Like ASP or PHP, JSP also has dynamic scripting capability that works with HTML code, separating the web page logic from the static elements.
Examining Java Servlets in detail
Article examines Java Servlets in detail and discusses HttpServlet, ServletConfig and ServletContext classes and issues like Servlet preloading.
Managing Sessions with Java Servlets
An article on managing sessions. First describes what is a session?, how to identify a user across multiple pages and how to manage sessions using Java Servlets.
Updating records in the Database using JDBC with Java Servlets
An article on updating records in the database with Java Servlets. Every step from establishing a Connection to executing the UPDATE query is explained in detail.
Sending E-Mails with JSP Pages
In this article we will learn how to send simple text emails using JSP pages. Since it is not a good habit to put Java code in JSP pages, we will create a JavaBean to do that.
Introduction to Java Server Pages, Your first JSP Page
Article on obtaining and installing Tomcat 4.0 Server.TThen moves on to introduce JSP and eventually builds a simple JSP page to test the installation.
An Introduction to Java Servlets
In this article I will describe the overall servlet architecture and what you need to develop your application with servlets. I will use several code examples to show you how to use the Servlet API, and compare it with CGI and proprietary server APIs where appropriate.
Introduction to Servlets
For creating dynamic web applications we need some server resources which process user requests and send response back to user. Typical examples are processing HTML form, database query and sending dynamic HTML content back to user. Early days, we used CGI programs based on scripting languages like Perl, PHP etc. Java Servlets is an alternative to CGI programs based on popular Java programming language.
Debugging from JSP and Java Applications
This tutorial gives you an overview of how to use the debugging feature of eclipse to debug your web or Java projects.
Professional JSP
This chapter will examine a variety of ways to architect a system with JavaServer Pages, Servlets, and JavaBeans. We will see a series of different architectures, each a development of the one before.
Using XML and JSP together
XML and JSP are two of the hottest buzzwords these days. This article shows how you can use these two technologies together to make a dynamic Website. You also get a look at code examples for DOM, XPath, XSL, and other Java-XML techniques.
Servlets trail
The Servlets trail teaches you about servlets, the bodies of code that run inside servers, and extend their functionality.
What is a Servlet?
This article gives an overview of Java servlets.
WAP builds Java applications
If your company already relies on multitiered enterprise Java applications, then you may be closer to a wireless future than you think. By outlining a sample application, Aashish Patil shows you how to connect your existing enterprise Java infrastructure to a wireless netowrk with minimal investment in equipment and labor. Using existing EJBs, modified servlets, and new WML and WMLScript pages makes the process a snap.
Know your Oracle application server
A Java application server is the runtime environment for a Java enterprise application. It provides services to components such as servlets and Enterprise JavaBeans (EJBs) in the form of containers. A container is an interface between a component and the platform-specific functionality that supports it.
Introduction to Java Server Pages JSP
This tutorial is based on the following software environment.
Installing and Using the Java Servlet SDK
The first step to using servlets is installing a web server that supports the Java Servlet SDK.
Build a servlet-based application that executes SQL statements against a database
This tutorial shows how to use a Java servlet, a JavaServer Page (JSP), and a static Java class to create an application that can be used to interactively execute any standard SQL statement against a database that's running on a server.
Accessing Database using Tags in JSP Pages
This step by step tutorial describes how to access database using JDBC with JSP tags in a JSP page. Also describes how to iterate through the records using BodyTag interface.
What is Tomcat?
This article gives an overview of Apache Tomcat, a Java Servlet and JSP container.
Beginner Java Tutorial
Java programming language (object-oriented) is developed by Sun Microsystems. Java is a simple, scalable, general purpose object oriented programming language. This is a beginner java tutorial website covering java basics along with java source code.
JSP templates
This article explores a template mechanism for JavaServer Pages (JSP) that, like layout managers, encapsulates layout so it can be reused instead of replicated.
What is JSP?
This article gives an overview of JSP.
The Java Game Development Tutorial
You should be already able to program in Java, although you don't have to be a expert! The tutorial will give you a very detailed introduction into the development of online games using Java. We will talk about Java Applets because everyone has a Internet browser, so everyone is able to play these games without installing the JDK!.
Calling a JavaBean from a JSP Page
This tutorial describes , and tags and demonstrates how to call JavaBean from within a JSP page.
JT-Java Trainer
Java Trainer (JT) is for students who intend to learn Java , C#(or C++ for that matter). It is a simple programming system in a web page (no install), with a language close to C and Java, but cut-down.
File Handling in Java
A look at the file handling methods that Java provides, and an introduction to the complex I/O system that comes packaged in java.io.Read This Java Tutorial
Advanced form processing using JSP
This article examines the processing of a user registration form using JSP and JavaBeans while implementing the Memento design pattern.
Herong's Tutorial Notes on JSP and JSTL
It is a collection of notes and sample codes written by the author while he was learning JSP and JSTL himself. Topics include attachment, content-disposition, content_type, cookie, custom tag, debugging, expression language, file upload, header lines.
Quicksort in Java
A quick intro to the Quicksort algorithm in Java, showing an efficient (if not optimal) way to sort.Read This Java Tutorial
Working With Collections In Java - Part 1
A look at the Collections Framework of Java which provides a large set of popular data structures such as stacks, linked lists and dynamic arrays.Read This Java Tutorial
Introduction to Arrays in Java
This tutorial covers creating, accessing, initializing, inserting, searching and deleting arrays and their elements in Java. Examples are given for each of these actions to aid the reader in getting a hands-on experience.Read This Java Tutorial
Launching a browser from Java
This tutorial shows how to launch a web browser from a Java applet and from a Java application.
Introduction to JSTL (JSP Standard Tag Libraries)
This tutorial helps you to understand: What is JSTL? Installing JSTL 1.0; Implementation - Standard Taglib 1.0.4; "Hello world!" with JSTL; JSTL in XML Style JSP Pages; JSTL Requirements.
First Servlets
A Simple Servlet Generating Plain Text, Compiling and Invoking the Servlet, A Simple Servlet Generating HTML, and Some Simple HTML Utilities for Servlets.
Determine the available memory in Java
This tutorial will give you a brief walkthrough on Java memory use in the sandbox and show how to use the Runtime class to discover the amount of memory available to your Java applet or application.
Java as a useful Platform
A brief introduction of Java for getting ready to start programming with Java.
Using Custom Cursors in Java
This tutorial shows how to go beyond the predefined cursors in Java and create your own cursors using a GIF or PNG that are dsiplayed when the user moves the mouse over a Java component (AWT or Swing).
 
Categories