MCPcopy Index your code
hub / github.com/apache/tomcat / setUriroot

Method setUriroot

java/org/apache/jasper/JspC.java:897–907  ·  view source on GitHub ↗

Base dir for the webapp. Used to generate class names and resolve includes. @param s New value

(String s)

Source from the content-addressed store, hash-verified

895 * @param s New value
896 */
897 public void setUriroot(String s) {
898 if (s == null) {
899 uriRoot = null;
900 return;
901 }
902 try {
903 uriRoot = resolveFile(s).getCanonicalPath();
904 } catch (Exception e) {
905 uriRoot = s;
906 }
907 }
908
909 /**
910 * Parses comma-separated list of JSP files to be processed. If the argument is null, nothing is done.

Callers 2

setArgsMethod · 0.95
precompileMethod · 0.80

Calls 2

resolveFileMethod · 0.95
getCanonicalPathMethod · 0.65

Tested by 1

precompileMethod · 0.64