A few nutshell samples for the ASF-Tomcat talk entitled Apache Tomcat: Enabling Scripting Languages in JSPs. The ApacheCon 2021 homepage: https://www.apachecon.com/acah2021/.
Please note: going on a short vacation, the test server will be unattended until September 20th.

Purpose

Preliminary nutshell examples to demonstrate the use of scripting languages in Tomcat and other Java EE or Jakarta EE web servers.

Teaser: A Little Webapp Consisting of Script Code Only

A little, "Java-less" web server app that uses different scripting languages to interact with a databse. The database data/test.db works right away: META-INF/context.xml addresses it with ${catalina.base} (changed 2026-11-29). sql_resetDB_ooRexx.jsp resets the test database (source).

Each time you follow this link sql_add_data.jsp (source) the webapp will run all its scripts that insert a hello world message in the database and displays all current records in the SQLite database. At the end a few properties of the current database (SQLite) will get queried and displayed in a table.

Some Utilites

To ease the work of students a few little utilities got created in ooRexx that can be also used from any other programming language. (ooRexx gets used to teach them programming from zero to GUI programming in a four hour lecture that lasts for four months.)


Rony G. Flatscher, 2021-09-21 (Vienna/Austria, Europe)
If interested in STL (standard tag library) with SQL-tags using SQLLite as well as the equivalent ooRexx nutshell samples, then you may want to go here: Some links: