mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
@@ -73,11 +73,13 @@ public class RootAction implements Action {
|
|||||||
file = FileUtil.file(file, indexFileName);
|
file = FileUtil.file(file, indexFileName);
|
||||||
if (file.exists() && file.isFile()) {
|
if (file.exists() && file.isFile()) {
|
||||||
response.write(file);
|
response.write(file);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else{
|
} else{
|
||||||
final String name = request.getParam("name");
|
final String name = request.getParam("name");
|
||||||
response.write(file, name);
|
response.write(file, name);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user