don't assume file when view resolvers are set
This commit is contained in:
@@ -58,8 +58,11 @@ public class MvcViewFactoryCreator implements ViewFactoryCreator {
|
||||
}
|
||||
|
||||
public String getViewIdByConvention(String viewStateId) {
|
||||
// TODO - make configurable
|
||||
return viewStateId + ".jsp";
|
||||
if (viewResolvers != null) {
|
||||
return viewStateId;
|
||||
} else {
|
||||
return viewStateId + ".jsp";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user