开发者

Publishing Website

When we开发者_JAVA百科 publish web application, images store in physical folder are not displaying on actual runtime. How to solve this problem?


Check if HTTP requests are being sent for the images, and if they are sent to the correct address. If they are, check your web server logs to identify where those requests end up, and whether the files themselves are present in the right location with appropriate read permissions.


You need to reference the images with a relative path rather than the fully qualified path.

<image src="../images/test.png" />


You can refer the images with Full HTTP Path or relative path or absolute path but they have to be correct to be able to show images.

Make sure that you do not have "file:\C:.....\test.png" as IMG SRC.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜