loadLessonFromPlugin.
- * - * @param context a {@link javax.servlet.ServletContext} object. */ - public void loadLessonFromPlugin(ServletContext context) { + public void loadLessonFromPlugin() { Resource resource = new ClassPathResource("/plugin_lessons/plugin_lessons_marker.txt"); String pluginPath = null; String targetPath = null; @@ -380,7 +378,7 @@ public class Course { public void loadCourses(WebgoatContext webgoatContext, ServletContext context, String path) { logger.info("Loading courses: " + path); this.webgoatContext = webgoatContext; - loadLessonFromPlugin(context); + loadLessonFromPlugin(); LegacyLoader loader = new LegacyLoader(); lessons.addAll(loader.loadLessons(webgoatContext, context, path, properties)); } diff --git a/webgoat-container/src/main/webapp/META-INF/MANIFEST.MF b/webgoat-container/src/main/old/META-INF/MANIFEST.MF similarity index 100% rename from webgoat-container/src/main/webapp/META-INF/MANIFEST.MF rename to webgoat-container/src/main/old/META-INF/MANIFEST.MF diff --git a/webgoat-container/src/main/webapp/META-INF/context.xml b/webgoat-container/src/main/old/META-INF/context.xml similarity index 100% rename from webgoat-container/src/main/webapp/META-INF/context.xml rename to webgoat-container/src/main/old/META-INF/context.xml diff --git a/webgoat-container/src/main/webapp/WEB-INF/context.xml b/webgoat-container/src/main/old/WEB-INF/context.xml similarity index 100% rename from webgoat-container/src/main/webapp/WEB-INF/context.xml rename to webgoat-container/src/main/old/WEB-INF/context.xml diff --git a/webgoat-container/src/main/webapp/WEB-INF/mvc-dispatcher-servlet.xmlold b/webgoat-container/src/main/old/WEB-INF/mvc-dispatcher-servlet.xmlold similarity index 100% rename from webgoat-container/src/main/webapp/WEB-INF/mvc-dispatcher-servlet.xmlold rename to webgoat-container/src/main/old/WEB-INF/mvc-dispatcher-servlet.xmlold diff --git a/webgoat-container/src/main/webapp/WEB-INF/pages/about.jsp b/webgoat-container/src/main/old/WEB-INF/pages/about.jsp similarity index 100% rename from webgoat-container/src/main/webapp/WEB-INF/pages/about.jsp rename to webgoat-container/src/main/old/WEB-INF/pages/about.jsp diff --git a/webgoat-container/src/main/webapp/WEB-INF/pages/login.jsp b/webgoat-container/src/main/old/WEB-INF/pages/login.jsp similarity index 100% rename from webgoat-container/src/main/webapp/WEB-INF/pages/login.jsp rename to webgoat-container/src/main/old/WEB-INF/pages/login.jsp diff --git a/webgoat-container/src/main/webapp/WEB-INF/pages/logout.jsp b/webgoat-container/src/main/old/WEB-INF/pages/logout.jsp similarity index 100% rename from webgoat-container/src/main/webapp/WEB-INF/pages/logout.jsp rename to webgoat-container/src/main/old/WEB-INF/pages/logout.jsp diff --git a/webgoat-container/src/main/webapp/WEB-INF/pages/main_new.jsp b/webgoat-container/src/main/old/WEB-INF/pages/main_new.jsp similarity index 100% rename from webgoat-container/src/main/webapp/WEB-INF/pages/main_new.jsp rename to webgoat-container/src/main/old/WEB-INF/pages/main_new.jsp diff --git a/webgoat-container/src/main/webapp/WEB-INF/pages/widgets/cookies_and_params.jsp b/webgoat-container/src/main/old/WEB-INF/pages/widgets/cookies_and_params.jsp similarity index 100% rename from webgoat-container/src/main/webapp/WEB-INF/pages/widgets/cookies_and_params.jsp rename to webgoat-container/src/main/old/WEB-INF/pages/widgets/cookies_and_params.jsp diff --git a/webgoat-container/src/main/webapp/WEB-INF/pages/widgets/hints.jsp b/webgoat-container/src/main/old/WEB-INF/pages/widgets/hints.jsp similarity index 100% rename from webgoat-container/src/main/webapp/WEB-INF/pages/widgets/hints.jsp rename to webgoat-container/src/main/old/WEB-INF/pages/widgets/hints.jsp diff --git a/webgoat-container/src/main/webapp/WEB-INF/server-config.wsdd b/webgoat-container/src/main/old/WEB-INF/server-config.wsdd similarity index 97% rename from webgoat-container/src/main/webapp/WEB-INF/server-config.wsdd rename to webgoat-container/src/main/old/WEB-INF/server-config.wsdd index 667abb2df..a32f6c661 100644 --- a/webgoat-container/src/main/webapp/WEB-INF/server-config.wsdd +++ b/webgoat-container/src/main/old/WEB-INF/server-config.wsdd @@ -1,69 +1,69 @@ - -