Re: linux + tomcat, some path/link problem

2007-04-25 Thread LRS
David Smith <[EMAIL PROTECTED]> Martin Gainty <[EMAIL PROTECTED]> Johnny Kewl <[EMAIL PROTECTED]> Caldarale, Charles R <[EMAIL PROTECTED]> Fargusson.Alan <[EMAIL PROTECTED]> thank all you guys and those who are paying attention to this topic. to Martin : thanks for reminding me of policy, i didn

Re: linux + tomcat, some path/link problem

2007-04-25 Thread David Smith
s of problems on IE with local file links... ITS A SECURITY THING.. NOT TOMCAT regards Johnny - Original Message - From: "LRS" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, April 25, 2007 3:45 AM Subject: Re: linux + tomcat, some path/link p

Re: linux + tomcat, some path/link problem

2007-04-25 Thread Johnny Kewl
file links... ITS A SECURITY THING.. NOT TOMCAT regards Johnny - Original Message - From: "LRS" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, April 25, 2007 3:45 AM Subject: Re: linux + tomcat, some path/link problem thanks men, actua

Re: linux + tomcat, some path/link problem

2007-04-24 Thread Martin Gainty
ROTECTED]> To: "Tomcat Users List" Sent: Tuesday, April 24, 2007 9:45 PM Subject: Re: linux + tomcat, some path/link problem thanks men, actually I've already tried to add " file:// " prefix explicitly to filePath in A href link, and in mozilla I can see the property of l

Re: linux + tomcat, some path/link problem

2007-04-24 Thread LRS
thanks men, actually I've already tried to add " file:// " prefix explicitly to filePath in A href link, and in mozilla I can see the property of link appear to be " file:///root/test.html " , which is a good sign, huh? but, woo, hate this but, no matter how hard i clicked, the browsers made no re

Re: linux + tomcat, some path/link problem

2007-04-24 Thread Johnny Kewl
Ha ha boy of boy are you in for some pain... sorry cant help myself. Well yes, you need to convert... because MS just didnt have the decency to ask the linux guys how to do it ;) Heres a little code for you if(rawFileName == null) return ""; if(rawFileName.le

RE: linux + tomcat, some path/link problem

2007-04-24 Thread Caldarale, Charles R
> From: Lu Rui [mailto:[EMAIL PROTECTED] > Subject: linux + tomcat, some path/link problem > > // for winxp > String filePath = new String("c:\\root\\test.html"); > // for linux > String filePath = new String("/root/test.html"); > > testlink I have not verified the following, but this is what

RE: linux + tomcat, some path/link problem

2007-04-24 Thread Fargusson.Alan
I may be completely miss-understanding, but I think this is a browser trick. At least in IE7 when I have c: it assumes file:..., but when I don't have c: it assumes http:... . You will probably need to code file:///root/test.html (I may have the wrong number of / after file:) to get this to wo