Adds the given file extension to the list of extensions handled as JSP files. @param extension The extension to add, e.g. "myjsp"
(final String extension)
| 880 | * @param extension The extension to add, e.g. "myjsp" |
| 881 | */ |
| 882 | protected void addExtension(final String extension) { |
| 883 | if (extension != null) { |
| 884 | if (extensions == null) { |
| 885 | extensions = new ArrayList<>(); |
| 886 | } |
| 887 | |
| 888 | extensions.add(extension); |
| 889 | } |
| 890 | } |
| 891 | |
| 892 | /** |
| 893 | * Base dir for the webapp. Used to generate class names and resolve includes. |