MySQL basic syntax

Database and Table · Create Database CREATE DATABASE <database name>; CREATE DATABASE shop; · Create Table CREATE TABLE <table name> (<column name> <data type> <constrains>, <column name> <data type> <constrains>, …, <constrains of the table>,<constrains of the table>,…); CREATE TABLE product (id CHAR(4) NOT NULL, name VARCHAR(100) NOT NULL, price Read more

Forward vs. Redirect

A Controller servlet may perform either a forward or a redirect operation at the end of processing a request. It is important to understand the difference between these two cases, in particular with respect to browser reloads of web pages Forward A forward is performed internally by the application (servlet). Read more