RE: Can a url have a space in it?

2002-01-18 Thread Justin Rowles
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

RE: Can a url have a space in it?

2002-01-18 Thread Justin Rowles
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. If you

RE: Can a url have a space in it?

2002-01-18 Thread Brandon Cruz
To: 'Tomcat Users List' Subject: RE: Can a url have a space in it? 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

RE: Can a url have a space in it?

2002-01-17 Thread Brian Adams
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

RE: Can a url have a space in it?

2002-01-17 Thread Brandon Cruz
though, you get a 404 error. -Original Message- From: Brian Adams [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 6:08 PM To: Tomcat Users List Subject: RE: Can a url have a space in it? if it is in your URL then it should %20 that represents a space in a string so if uRL

RE: Can a url have a space in it?

2002-01-17 Thread Brian Adams
PM To: Tomcat Users List Subject: RE: Can a url have a space in it? Thanks for responding Brian, Users are creating folders with spaces in them, not in the parameters, so the url is like this... http://localhost/my folder/index.html tomcat (or the browser) is successfully turning the url

Re: Can a url have a space in it?

2002-01-17 Thread Nikola Milutinovic
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