Skip to Content
0
Former Member
Jan 13, 2012 at 07:04 PM

Accessing images folder in jsp

30 Views

Hi Experts,

I am using CE 7.3 and creating a portal application for Quick Links functionality.

I have placed some images in the dist/images folder and trying to access the same in my jsp

through the following code:

<%webpath%>/images/img.jpg, where webpath= componentRequest.getwebResourcePath

But I am not able to access the image this way.

I have tried various other combinations to access the content stored in project folders, but no success yet.

Is there a different approach to be followed for CE, as I suppose the project contents are stored at different path on the server.

Please guide me through this one, as it is stalling my work big time. πŸ˜”

Regards,

Juhi