-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
WpdExtendlet$WpdLoader.getRealPath()
is to get real path of a wpd request like /web/_zv2021081016/js/zul.utl.wpd
. The related code is:
final int j = path.lastIndexOf(".wpd");
return path.substring(0, j).replace('.', '/') + "/zk" + path.substring(j);
If the path is to request a WPD, then j should be larger than -1
. Please open a browser developer tool > Network tab to check which request failed. Because the exception should cause the request to fail like:
Normally, getting a wpd file should not fail.
2 | No.2 Revision |
WpdExtendlet$WpdLoader.getRealPath()
is to get real path of a wpd request like /web/_zv2021081016/js/zul.utl.wpd
. The related code is:
final int j = path.lastIndexOf(".wpd");
return path.substring(0, j).replace('.', '/') + "/zk" + path.substring(j);
If the path is to request a WPD, then j should be larger than -1
. Normally, getting a wpd file should not fail.
Please open a browser developer tool > Network tab to check which request failed. Because the exception should cause the request to fail like:
Normally, getting a wpd file should not fail.
3 | No.3 Revision |
WpdExtendlet$WpdLoader.getRealPath()
is to get real path of a wpd file request like /web/_zv2021081016/js/zul.utl.wpd
. The related code is:
final int j = path.lastIndexOf(".wpd");
return path.substring(0, j).replace('.', '/') + "/zk" + path.substring(j);
If the path is to request a WPD, then j j
should be larger than -1
. Normally, getting a wpd file should not fail.
Please open a browser developer tool > Network tab to check which request failed. Because the exception should cause the request to fail like: