Return-Path: Delivered-To: apmail-xml-axis-user-archive@xml.apache.org Received: (qmail 19864 invoked by uid 500); 5 Nov 2002 15:05:35 -0000 Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@xml.apache.org Received: (qmail 19813 invoked from network); 5 Nov 2002 15:05:32 -0000 Message-ID: <91991EE20302D311AEB40090273C69A30536EC59@n0071021.vz.ba.de> From: Akacem Mohammed To: axis-user@xml.apache.org Subject: getRealPath() returns an empty string Date: Tue, 5 Nov 2002 16:05:31 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hallo , In a methode in the class MyServiceSoapBindingImpl I try to get the realpath so I can read from a config file some information , but i get an empty string for realpath. below is a code snippet. ServletEndpointContextImpl endpoint= new ServletEndpointContextImpl(); ServletContext cont= endpoint.getServletContext(); System.out.println(" cont.getServletContextName = " + cont.getServletContextName()); String realpath = new String(); cont.getRealPath(realpath); System.out.println(" realpath =" + realpath); Problem: I want to get the realpath so I can read from a config file some information , but i get an empty string for realpath. thanks for any help Mohammed