How to include jsp file in a sub directory with relative images paths to root index file

86 Views Asked by At

I have the index.html file with images stored at the same directory:

  • home.jsp
  • sub-dir
    • index.html
    • image.jpeg

and sub-dir content is a file uploaded by the user so in the index.html the image path is directly img src="image.jpeg" i need to include this index html to the home.jsp with the image preview.

0

There are 0 best solutions below