Dear Team,

We develop a website that allows user to upload image files to web server.
The server will save the file path to database. Then the JSP will retrieve
this file path for displaying image on page.

But one web server (Windows XP) can only display image with absolute file
path like
D:\Programs\Apache Software Foundation\Tomcat
5.5\webapps\myweb\resources\tomcat\photo.gif

Another web server (Windows Vista Home Premium) only likes relative path. If
I mannually change it in database table to
resources/tomcat/relation.gif
Then the picture is showed!

Can you help give some ideas?
-Bruce
-- 
View this message in context: 
http://www.nabble.com/File-Upload-behavior-not-consistent-on-different-web-server-tf4802350s2369.html#a13740320
Sent from the AppFuse - User mailing list archive at Nabble.com.

Reply via email to