Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 62936 invoked from network); 18 Jan 2002 00:07:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 18 Jan 2002 00:07:45 -0000 Received: (qmail 14687 invoked by uid 97); 18 Jan 2002 00:07:21 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 14640 invoked by uid 97); 18 Jan 2002 00:07:18 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 14629 invoked from network); 18 Jan 2002 00:07:18 -0000 From: "Brian Adams" To: "Tomcat Users List" Subject: RE: Can a url have a space in it? Date: Thu, 17 Jan 2002 18:08:26 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N if it is in your URL then it should %20 that represents a space in a string so if uRL was http:/localhost/servlet/test?file=my%20documents then when your do : String paramV = request.getParameter("file"); out.println("File Path is: " + paramV); this should make paramV = "my documents" is this what your looking for? B Anyone correct me if I am wrong please. -----Original Message----- From: Brandon Cruz [mailto:bcruz@norvax.com] Sent: Thursday, January 17, 2002 5:31 PM To: Tomcat Users List Subject: Can a url have a space in it? When using tomcat 3.2.4, is it invalid to create a folder called "/my folder"? It looks like tomcat turns the url into "my%folder", which I thought should work, but it can't find any files in this directory. Is this correct, is there something I can do to allow tomcat to find files in a directory with a space in it? Brandon -- To unsubscribe: For additional commands: Troubles with the list: -- To unsubscribe: For additional commands: Troubles with the list: