Multi-User-Domain / mud-jena

0 stars 0 forks source link

Configure SITE_URL through web.xml #23

Closed calummackervoy closed 3 years ago

calummackervoy commented 3 years ago

Currently we hardcode the site's URL in MUDApplication.java :mask:

private final static String SITE_URL = "http://localhost:8080/mud/";

We should read this value from the web.xml

calummackervoy commented 3 years ago

I found this for Tomcat https://tomcat.apache.org/tomcat-8.5-doc/config/host.html... I'm sure there's a standard way to do this but at the moment I'm not sure I get it... I miss Django :grin:

I haven't researched yet how Tomcat configuration -> Grizzly Tomcat configuration in the unit tests