This is an automated email from the ASF dual-hosted git repository. juanpablo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jspwiki.git
commit 4c86d763cf191959c0df444d99d26523fa694548 Author: juanpablo <[email protected]> AuthorDate: Fri Nov 2 22:54:57 2018 +0100 fix build path on eclipse + bogus call on Workflow.jsp --- jspwiki-war/pom.xml | 12 ++++++++++++ jspwiki-war/src/main/webapp/Workflow.jsp | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/jspwiki-war/pom.xml b/jspwiki-war/pom.xml index 941264d..e5b0893 100644 --- a/jspwiki-war/pom.xml +++ b/jspwiki-war/pom.xml @@ -42,6 +42,18 @@ <artifactId>jspwiki-markdown</artifactId> <version>${project.version}</version> </dependency> + + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>javax.servlet-api</artifactId> + <scope>provided</scope> + </dependency> + + <dependency> + <groupId>javax.servlet.jsp</groupId> + <artifactId>javax.servlet.jsp-api</artifactId> + <scope>provided</scope> + </dependency> </dependencies> <build> diff --git a/jspwiki-war/src/main/webapp/Workflow.jsp b/jspwiki-war/src/main/webapp/Workflow.jsp index 9f33f12..1abf46e 100644 --- a/jspwiki-war/src/main/webapp/Workflow.jsp +++ b/jspwiki-war/src/main/webapp/Workflow.jsp @@ -36,7 +36,7 @@ %> <% - WikiEngine wiki = WikiEngine.getInstance( request.getServletConfig() ); + WikiEngine wiki = WikiEngine.getInstance( getServletConfig() ); // Create wiki context and check for authorization WikiContext wikiContext = wiki.createContext( request, WikiContext.WORKFLOW ); if(!wiki.getAuthorizationManager().hasAccess( wikiContext, response )) return;
