I find out some problem with this. Encoding som other characters then ISO
Latin 1 from %xx URL fromat.
With URL encoding deals:
in tomcat:
org.apache.tomcat.core.RequestImpl.handleParameters();
... this use some methods from the same class but the same thinh does:
in servlet spec:
javax.servlet.http.HttpUtils.parseQueryString()
I thing is better to use one implementation of parsing URL.
(I posted the code in "Support for different Charsets" tread)
Hi
Jan Fnukal
e-mail: [EMAIL PROTECTED]
tel: +420-5-4142 5628
EfCon a.s.
Jaselska 25
611 57 Brno
Czech Republic
www.efcon.cz
----- Original Message -----
From: Klaus Sonnenleiter <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 13, 2001 4:40 PM
Subject: %3F Problem
> This may be a bit obscure, but I'm trying to get Tomcat to respond to a
> request that arrives with an encoded URL in the form [URL]%3F[Parameters].
> It looks like "http://myhost:myport/mycontext/servlet/myservlet%3Fx=y" If
I
> do the equivalent with an Apache http server (for verifying that I'm
trying
> the right thing), I get the error message indicating that Apache was
> looking for the correct URL followed by a question mark and the name-value
> pairs of the parameter list. In Tomcat, however, the %3F does not get
> replaced and the error message indicates that Tomcat is looking for a
> servlet class called "myservlet%3Fx=y" which does not exist on my system.
>
> It looks like somebody must have attempted to fix this since the b3
version
> does a correct replacement if the %3F shows up right behind the end of the
> context (/mycontext/servlet%3F). I would volunteer to attempt a fix, if
> someone could point me to the right files - I looked at StandardWrapper
and
> StandardClassLoader, and I can get the class loaded by cutting the name
> before the %, but then I lose the parameter list.
>
> Any hints?
>
> TIA
>