devweb


CIS Home

DEVWEB home

Apache, HTML, CGI and PHP
Servlets/JSP
NodeJS
Gitlab
Mattermost
Microsoft SQL
MySQL
PostgresQL
MongoDB
Elasticsearch
Shibboleth

 

Servlets and JSP

Accessing this URL will set up Tomcat 8 for your account:
https://devweb2019.cis.strath.ac.uk/username/

When your account is activated you will find a test java servlet called "hello" in ~/DEVWEB/2019/userlets/WEB-INF/classes/hello.class which has the URL of:

https://devweb2019.cis.strath.ac.uk/username/hello

Note: whenever you add new servlets to your DEVWEB directory you need to update your ~/DEVWEB/2019/userlets/WEB-INF/web.xml to reflect this.

Tomcat 8 with HTML and JSP

Any html or jsp file can just be placed in ~/DEVWEB/2019/userlets directory and can be accessed with the URL: https://devweb2019.cis.strath.ac.uk/username/filename

Troubleshooting Tomcat 8

You can access the tomcat manager, documentation and examples by visiting this URL: https://devweb2019.cis.strath.ac.uk/username-root/

NOTE: The username for the Tomcat manager is "tomcat" and your password is in your ~/DEVWEB/2019/.config/tomcat8/tomcat-users.xml file.

You can examine logs from the tomcat server here: ~/DEVWEB/2019/.logs/tomcat8/

Tomcat 8 and deploying WAR files

You can upload WAR files to tomcat using the manager app at https://devweb2019.cis.strath.ac.uk/username-root/manager/html

The maximum WAR file size is 500MB

back to top