"=self"-tag for self scripting applications in apps.properties is no longer supported. use class.properties file instead and define helma.main.Server as the main class.

This commit is contained in:
stefanp 2002-04-08 09:00:52 +00:00
parent 1bd0f474b6
commit ce27d2124b

View file

@ -75,10 +75,6 @@ public class ApplicationManager {
// if we're running with the embedded web server, set app base uri to /appname
if (server.websrv != null && !"base".equalsIgnoreCase (appName))
app.setBaseURI ("/"+java.net.URLEncoder.encode (appName));
// check if the root object of the application is the Server itself
boolean self = "self".equalsIgnoreCase (props.getProperty (appName));
if (self)
app.setDataRoot (server);
// the application is started later in the register method, when it's bound
app.init ();
} catch (Exception x) {