This is a complete chapter : `Combining Servlets, JSP, and JavaBeans` from Wrox Press book "Professional JSP 2nd Edition". It introduces Model-View-Controller (MVC) architecture and describes combining JSP, Servlets and Java Beans using it....
This article discusses the anatomy of a JSP page. Discusses all the directives, scripting elements, actions and JSP tags which form part of the JSP page. This article provides good foundation for studying advanced JSP topics.... Tags:
Tags are reusable code libraries and allow easier separation of HTML and Java code. This tutorial first introduces JSP custom tags and then moves forward to build a simple JSP tag. Every step has been explained in detail. Online demo available....
JavaServer Pages (JSP) are a great mechanism for delivering dynamic Web-based content. JSP provides a set of predefined tags, but you can also define your own tag extensions that encapsulate common functionality. This article will show how easy it is to build, deploy, and use your own custom JSP tag, using the Servlet/JSP reference implementation, Tomcat....
One of the most exciting features of the new Java Servlet 2.3 specification is filtering. At first sight, Servlet 2.3 filtering is deceptively similar to existing legacy filters in Apache, IIS, Netscape Web servers and others. In reality, Servlet 2.3 filtering is a completely different design architecturally -- leveraging the object-oriented nature of the Java platform to provide a new level of performance. This article introduces you to filtering in Tomcat 4 and shows you how to make productive use of filters in your projects....
There are two primary types of tag conventions in Java Server Pages: Scripting-Oriented Tags and XML-Based Tags. Learning them gives you insight not only into JSP, but XML, too. This article is the second excerpt in a series from the book, "Web Development with JavaServer Pages."...
This article shows you how to customize JSP tags to get even more out of JSP technology. Its detailed techniques explain how you can add more complex logic to your JSPs, take firmer control
of data display, and share data among tags. All without having to teach your front-end Web developers how to write Java code.... Tags:
Why invent the wheel every time you develop an application in Java? Writing a J2EE web application is complicated enough; you would not write a linked list module in C++ every time you started a new project. You would rather use another person`s implementation. The same reuse-idea surely applies to server-side web development. This article looks at the best practices of using one popular web application toolkit, Expresso Framework. The idea of using custom tags, JSP, and the MVC paradigm are suitable for such frameworks. It will illustrate the best of practice through an on-line stock trading program example....
An article on exception handling in JSP pages. Describes how to catch exceptional events and display a useful message to the user. Online demo available....
This tutorial is second in a series of tutorials about JSP tags. In this tutorial we will learn what are scripting variables in JSP tags and how to make use of them. Online demo available....
After describing some basic programming of servlets, we will describe some advanced topics of servlets in this tutorial, viz., Session Tracking, Servlet Filters, Servlet Life Cycle Events, Including, forwarding and redirecting, Servlet Chaining and Applet Servlet Communication....
In this JSP tutorial, you will learn about JSP tags, list of the tags used in Java Server Pages, declaration tag, general syntax of declaration tag, expression tag and general syntax of expression tag....
In this JSP tutorial, you will learn the steps for setting JSP environment in Microsoft Windows, setting the PATH and CLASSPATH, steps for downloading and installing the Tomcat web server....
In this JSP tutorial, you will learn about two types of Directive tag namely Include and Tag Lib and also Scriptlet tag used in Java Server Pages along with syntax, usage, example and explanation for each of the tag....