J
javadev
Hello
I have a java based web application deployed on Apache Tomcat.
On one of my JSP pages, I try to display an image, the path of which is
an absolute path (say, C:\somePic.jpg) pointing to a location on the
server on which the application is deployed. However when I try to
access this web page from a different machine, it looks for this image
file on the local machine and not the server. How can I specify an
absolute path but still make sure that the jsp page is picking up the
image from the server and not the local machine on which it is being
run?
Thanks
Swetha
I have a java based web application deployed on Apache Tomcat.
On one of my JSP pages, I try to display an image, the path of which is
an absolute path (say, C:\somePic.jpg) pointing to a location on the
server on which the application is deployed. However when I try to
access this web page from a different machine, it looks for this image
file on the local machine and not the server. How can I specify an
absolute path but still make sure that the jsp page is picking up the
image from the server and not the local machine on which it is being
run?
Thanks
Swetha