Preliminary nutshell examples to demonstrate the use of scripting languages in Tomcat and other Java EE or Jakarta EE web servers.
debug to true to get more insight.
request object.
debug to true to get more insight.
request object.
debug to true to get more insight.
request object.
debug to true to get more insight.
request object.
debug to true to get more insight.
request object.
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.
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.)