diff --git a/core/src/main/java/org/apache/struts2/views/xslt/XSLTResult.java b/core/src/main/java/org/apache/struts2/views/xslt/XSLTResult.java index 5ebbf67bb..5dfd5fb25 100644 --- a/core/src/main/java/org/apache/struts2/views/xslt/XSLTResult.java +++ b/core/src/main/java/org/apache/struts2/views/xslt/XSLTResult.java @@ -404,12 +404,7 @@ public class XSLTResult implements Result { ServletActionContext.getServletContext()); } - protected Templates getTemplates(String path) throws TransformerException, IOException { - String pathFromRequest = ServletActionContext.getRequest().getParameter("xslt.location"); - - if (pathFromRequest != null) - path = pathFromRequest; - + protected Templates getTemplates(final String path) throws TransformerException, IOException { if (path == null) throw new TransformerException("Stylesheet path is null");