Assignment 1
The Assignment
Referring to the following diagram, by next Tuesday at Noon, in your webapp directory j-<your name>:
You
should:
- Build the yellow directory tree.
- Copy and insert the white files from Overview
- Build the blue files
- Test and, if running, alert me by email.
The Diagram:

The Browser Request and Return:

hoare.cs.umsl.edu Setup Notes
-------------------------------------------
MariaDB and Java are available after the account was created.
To test access to MariaDB, from the command line execute:
mysql --user=cs4010 --password=cs4010 --database=cs4010
With respect to Java, so that I could work with Tomcat.
I created a directory myjars under my home directory and put the various Web jars in it from
theJars.zip
(recall "others" go in the same directory not a sub directory).
I also added two files to my account home directory.
.bash_profile and .bashrc
.bash_profile
---------------------------------
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
-------------------------------
and
.bashrc
-----------------------------------------
#!/bin/sh
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# My aliases and functions
export CLASSPATH=.:/usr/share/java/*:/home/j-siegel/tomcat/WEB-INF/lib/*:/home/j-siegel/myjars/*;
alias h='history';
alias gotoTom='cd /var/lib/tomcat/webapps/j-siegel';
------------------------------------------------------------
Your files would have your account name. Also, you have to reboot to execute.
The CLASSPATH is a bit of overkill
and there are different ways to do this but when I just execute the command
gotoTom from wherever I am, I get to my webapp.
