What will happen if unfortunately the resource lost at static include?
In static include if the resource is not available, the container would throw an internal server error ie, Error 500 (At least in WebSphere). Ie, for static include the resource has to be present at translation phase. Once the page is compiled, even if the resource is not available, static include would work as expected. This is because the resource is already a part of the main file and it will not look for the file at run time.
Dynamic include would throw a Page not found (HTTP Error 404), if the resource is not available at run time. The resource has to be present in the server every time we do a lookup for the file. This is because dynamic include uses a runtime inclusion of the file.