File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,6 @@ public static void main(String[] args) throws Exception {
110110 File jcoderHome = new File (home );
111111
112112 makeFiles (jcoderHome , logPath );
113-
114113 context .setContextPath ("/" );
115114 context .setServer (server );
116115 context .setMaxFormContentSize (0 );
@@ -130,6 +129,7 @@ public static void main(String[] args) throws Exception {
130129 if (location .toExternalForm ().endsWith (".jar" )) { // 如果是jar包
131130 context .setDescriptor (location .toExternalForm () + "!/webapp/WEB-INF/web.xml" );
132131 context .setWarResource (Resource .newResource (Bootstrap .class .getResource ("webapp" )));
132+ context .setTempDirectory (new File (jcoderHome ,".temp" ));
133133 } else {
134134 context .setWar ("src/main/webapp" );
135135 }
You can’t perform that action at this time.
0 commit comments