Mark Spritzler wrote:Well because it is a getter, you can do, and one other thing, I think systemProperties is a predefined implicit reference in Spring Expression Language.
so maybe the AuditProperties bean should be called auditProperties instead
so change the bean name to auditProperties and try
Wait a second. Why aren't those values just in a .properties file that you load in.
so in a file called auditProperties.properties put
Then you can load the file via
<util:properties id="auditProperties" location="locationOf/auditProperties.properties/>
Then you can use
What you are currently doing is reinventing the wheel. Even if you didn't want it in a .properties file but still in code, you are reinventing the wheel because Java SDK comes with a class called Properties.
William Brogden wrote:
I still want it to be accessed with /artms not just www.dnsname/artms not just www.dnsname ?
If I place it in root there wont be context root right ?
Right - If you want there to only be one web application on your server then "artms" must be the only directory under webapps, right? So remove ROOT, leave artms, and let us know what happens.
William Brogden wrote:Obviously, your app must take the place of the default in the ROOT directory and you must remove all other directories under webapps.