| |
| |
This article discusses using the JSP and JDBC technologies to integrate static, dynamic, and database content in Web sites. For the purposes of simplicity and illustration, the JSP pages here use short scriptlets to expose the JSP developer to the underlying JDBC concepts instead of hiding them in custom tags. The author introduces a key design approach that integrates JavaBeans components with JDBC, similar to the way that JavaServer Pages technology already uses beans with HTTP. He also provides code for implementing this integration.
|
|
|
| |
| |
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. Online demo available.
|
|
|
| |
| |
An article on updating records in the database using JDBC with Java Servlets. Every step from establishing a Connection to executing the UPDATE query is explained in detail. Online demo available.
|
|
|
| |
| |
An article on inserting records into the database with Java Servlets. Every step from establishing a Connection to executing the INSERT SQL query is explained in detail. Online demo available.
|
|
|
| |
| |
An article on displaying records from the database with Java Servlets. Every step from establishing a Connection to iterating through ResultSet is explained in detail.
|
|
|
| |
| |
This article tells about the 2 architectures that we can use to build applications with Servlets and JSP.
|
|
|
| |
| |
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.
|
|
|
| |
| |
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.
|
|
|
| |
| |
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.
|
|
|
| |
| |
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.
|
|
|
| |
|