JSP image relative path problem
Posted on 2003-10-21
I have a JSP which writes out HTML file using out.write(). The path to images in the HTML are relative to the HTML file and hence they don't get displayed as the browser is trying to figure it out using the JSP's cuurent path.
Is there a way for me to let the browser know the correct path based on which it should compute the image's complete location.
I have to use the out.write() as the HTML is read in and updated by the JSP.