path Manipulation

hello

I have images in web application in the folder

myApp / tempData

I will display the images

I work local on my home pc

String p1 = request.getSession().getServletContext().getRealPath("/")+"tempData"+java.io.File.separator;

output > C:\Program Files\Tomcat\webapps\xx\tempData\

I want usethis path in the front end

Itry to manipulate the path

frontEndPath: C:\\Program Files\\Tomcat\\webapps\\xx\\tempData\\

but the omages can not be found and can not be displayed

how to change the path to display the images in browser

[718 byte] By [the_Orienta] at [2007-11-27 0:26:14]
# 1

hello

I have images in web application in the folder

myApp / tempData

I will display the images

I work local on my home pc

String p1 = request.getSession().getServletContext().getRealPath("/")+"tempData"+java.io.File.separator;

output > C:\Program Files\Tomcat\webapps\myApp\tempData\

I want use this path in the front end

I try to manipulate the path

frontEndPath: C:\\Program Files\\Tomcat\\webapps\\myApp\\tempData\\

but the omages can not be found and can not be displayed

how to change the path to display the images in browser

the_Orienta at 2007-7-11 22:24:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...