Skip to content

WebEngineering-Univaq/Java_Example_Templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java_Example_Templates

Basic examples for the Freemarker template engine used in a servlet

This example demonstrates the basics of Freemarker, a template engine for Java applications, very useful to generate the html output of web applications.

Usage

This is a sample application developed during the lectures of the Web Engineering course. The code is organized to best match the lecture topics and examples. It is not intended for production use and is not optimized in any way.

This example code will be shown and described approximately during the 18th lecture of the course, so wait to download it, since it may get updated in the meanwhile.

Installation

This is a Maven-based project. Simply download the code and open it in any Maven-enabled IDE such as Netbeans or Eclipse. Additionally, you may need to configure the deploy settings: the application is intended to be run on the JavaEE 7 platform inside Apache Tomcat version 9. Refer to your IDE help files to perform this step. For example, in Apache Netbeans, you must enter these settings in Project properties > Run.


University of L'Aquila