Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Not A Problem
-
None
-
None
-
Important
Description
Joe. In file PageFilter.java (about line 52) after executing this line
// parse data into Page object (or continue as normal if Page not parseable)
Page page = parsePage(request, response, chain);
some of the attributes of the request object changes. One of them is _servletPath and its value is set to empty String "". This causes that the method public Decorator getDecorator( HttpServletRequest request, Page page ) in file ConfigDecoratorMapper.java fails finding a pattern. In the first line of this method I see this line:
String thisPath = request.getServletPath();
So thisPath is the emptyString.
This causes that only the /* and * patterns works when using struts2 + sitemesh.
Are you agree with me?
Thanks.