Umstellung auf Thymeleaf: Schritt 3 - Versucht, das Projet umzustellen
[website] / src / main / java / de / juplo / branding / web / ApplicationConfig.java
diff --git a/src/main/java/de/juplo/branding/web/ApplicationConfig.java b/src/main/java/de/juplo/branding/web/ApplicationConfig.java
deleted file mode 100644 (file)
index 598f1b0..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-package de.juplo.branding.web;
-
-import javax.annotation.PostConstruct;
-import javax.annotation.Resource;
-import javax.servlet.ServletContext;
-import org.springframework.stereotype.Component;
-
-
-@Component
-public class ApplicationConfig
-{
-  public static final String ATTRIBUTE_BASE = "base";
-
-  @Resource
-  private ServletContext context;
-
-  @PostConstruct
-  public void configureApplication()
-  {
-    context.setAttribute(ATTRIBUTE_BASE, context.getContextPath() + '/');
-  }
-}
\ No newline at end of file