mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
commit
611243365f
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user