For relative freemarker template locations, FreemarkerResult uses the current URL to figure out the path. This is assumes that the action name doesn't include any "/" characters. If it does then part of the action name ends up in the template path. Instead, it should use the namespace directly to build the template path which removes any ambiguity. Please see the attached patch.