java

Create JDBC Security Realm in Tomcat

in

A Realm is a "database" of usernames and passwords that identify valid users of a web application (or set of web applications), plus an enumeration of the list of roles associated with each valid user. JDBCRealm is an implementation of the Tomcat 5 Realm interface that looks up users in a relational database accessed via a JDBC driver.

Step by Step Tutorial, create JNDI JDBC Datasource in Tomcat

in

JNDI resource configuration has changed somewhat between Tomcat 5.0.x and Tomcat 5.5.x In this tutorial we will use MySQL database.

JSP Tutorial 3, Uploading File using JSP

in

To upload file in JSP environment we can use commons-fileupload library from apache Jakarta projects

JSP Tutorial 2, Standard Tags

in

Standard tag can control jsp pages at runtime. There is standard tag and custom tag in jsp. Standard tag is define by jsp specification, custom tag is a new tag can be defined by our own

JSP Tutorial 1, Elements in JSP pages

in

Step by step article creating JSP pages chapter 1

Velocity Template - Step by Step Tutorial

in

Velocity is a template engine in Java environment produced by Apache Jakarta Project . With velocity we use a template file (html layout) rather than drawing html tags with println in Java servlets.

Java Servlet Tutorial III - Connecting Servlet to MySQL Database through JNDI Datasource

in

Tomcat has built in Java Database Connection Pooling (JDCP). This means, Tomcat can provides connection pooling, that can be mapped into JNDI. This article describes Step by step tutorial, howto connecting servlet with MySQL database trough JNDI Datasource in Tomcat.

Java Servlet Tutorial II - Connecting servlet to MySQL Database through JDBC

in

You should read previous article before applying this tutorial

Syndicate content