You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Nick Bauman <ni...@cortexity.com> on 2000/09/15 21:38:47 UTC
Re: Question about differing behavior between Unix and NT
On Fri, 15 Sep 2000, Arieh Markel wrote:
> On our application, the docBase is set programmatically.
>
> The question is with regards to whether the pathname for the docBase
> needs to be in the format native to the host o.s ?
Computing a path in Java should always use a platform-independent
technique like:
String sep = System.getProperty("path.seperator");
instead of hardcoding the seperator to whatever seperator your host
platform uses, eh?
-Nick