You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David M Johnson <ha...@yahoo.com> on 2002/02/01 20:33:33 UTC

Are spaces allowed in Servlet Context names?

Tomcat 4.0.1 does not seem to allow spaces, but are spaces really 
prohibuted by the spec?

For example if I have a Servlet Context named "spaces 2" in the
webapps dir like so:

    <installdir>/webapps/spaces 2

And I try to hit it with a properly escaped URL like below,
I get a 404 error.

   http://localhost:8080/spaces%202

Can anybody please point me to the part of the spec that
prohibits spaces? I've searched the 2.3 spec and Google and
Deja, but I can't find the clause or pointers to the clause
that prohibits spaces.

- Dave


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Session Binding with IIS (is it possible??)))

Posted by Pavel Brun <pa...@sympatico.ca>.
I am not sure if this is possible, but what possibilities are out there to
bind the IIS session with Tomcat's Session Management and vice versa?

Thanks

Paul





--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Are spaces allowed in Servlet Context names?

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Mon, 4 Feb 2002, David M Johnson wrote:

> Date: Mon, 04 Feb 2002 15:08:18 -0500
> From: David M Johnson <ha...@yahoo.com>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: Tomcat Users List <to...@jakarta.apache.org>
> Subject: Re: Are spaces allowed in Servlet Context names?
>
> Should I file a bug, or have you already done that?
>

No I haven't.  Could you please do so?

Thanks,
Craig


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Are spaces allowed in Servlet Context names?

Posted by David M Johnson <ha...@yahoo.com>.
Should I file a bug, or have you already done that?



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Are spaces allowed in Servlet Context names?

Posted by "Craig R. McClanahan" <cr...@apache.org>.
AFAIK, they should be allowed, but that is a question to check in RFC 2396
(which defines the legal syntax for URLs, and which the servlet spec
references).  I did confirm that it fails with Tomcat 4.

Craig


On Fri, 1 Feb 2002, David M Johnson wrote:

> Date: Fri, 01 Feb 2002 14:33:33 -0500
> From: David M Johnson <ha...@yahoo.com>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: tomcat-user@jakarta.apache.org
> Subject: Are spaces allowed in Servlet Context names?
>
> Tomcat 4.0.1 does not seem to allow spaces, but are spaces really
> prohibuted by the spec?
>
> For example if I have a Servlet Context named "spaces 2" in the
> webapps dir like so:
>
>     <installdir>/webapps/spaces 2
>
> And I try to hit it with a properly escaped URL like below,
> I get a 404 error.
>
>    http://localhost:8080/spaces%202
>
> Can anybody please point me to the part of the spec that
> prohibits spaces? I've searched the 2.3 spec and Google and
> Deja, but I can't find the clause or pointers to the clause
> that prohibits spaces.
>
> - Dave
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>