Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

image cannot be seen on masthead


I am customizing MastheadiView.jsp. I downloaded the file , renamed it made changes and uploaded it in the portal.

I included a new image in the image folder in the file structure that was imported into the NWDS and then included the code beneath the line <TD class="prtlHeaderFunctionsTable">


<img src="<%= (componentRequest.getWebResourcePath() + "/images/imagename.jpg") %>"><border="1"></a>


Now I am able to execute the iView but the image is missing, I think nwds didnt package the images into the portal.

How should I fix this?



Former Member

Hi Priya,

I dont think it is necessary to put the image in the server path. Make sure of the image name. It is case sensitive. Give the exact name of the image in the path.

";" is missing in the img src. Try like this.

<img src="<%= componentRequest.getWebResourcePath() + "/images/imagename.jpg"; %>">



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question