Skip to content

Commit

Permalink
Drops defining location via request
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszlenart committed May 4, 2016
1 parent c9c2137 commit 6bd694b
Showing 1 changed file with 1 addition and 6 deletions.
Expand Up @@ -404,12 +404,7 @@ protected URIResolver getURIResolver() {
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");

Expand Down

0 comments on commit 6bd694b

Please sign in to comment.