50 return filename.endsWith(ext) ? filename : filename + ext; |
50 return filename.endsWith(ext) ? filename : filename + ext; |
51 } |
51 } |
52 |
52 |
53 public static String jspPath(String filename) { |
53 public static String jspPath(String filename) { |
54 return enforceExt(Constants.JSP_PATH_PREFIX + filename, ".jsp"); |
54 return enforceExt(Constants.JSP_PATH_PREFIX + filename, ".jsp"); |
55 } |
|
56 |
|
57 public static String jspfPath(String filename) { |
|
58 return enforceExt(Constants.JSPF_PATH_PREFIX + filename, ".jspf"); |
|
59 } |
55 } |
60 |
56 |
61 public static String dynFragmentPath(String filename) { |
57 public static String dynFragmentPath(String filename) { |
62 return enforceExt(Constants.DYN_FRAGMENT_PATH_PREFIX + filename, ".jsp"); |
58 return enforceExt(Constants.DYN_FRAGMENT_PATH_PREFIX + filename, ".jsp"); |
63 } |
59 } |