0

I have below folders in my web application.

inside

       webapp/public/images/some.png
       webapp/public/js/somejs.js

       webapp/WEB-INF/some.jsp

Now inside somejs.js i need to refer some.png and am refering as below but it is not picking the image. do i need to change the url?

My jsp file is located in WEB-INF folder

$('#myform #someId').html('<img src="../images/some.png" /> <span style="color:green">Successfully Saved</span>');
4

0 回答 0