cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session StandardSession.java

2001-05-13 Thread craigmcc
craigmcc01/05/13 21:51:22 Modified:catalina/src/share/org/apache/catalina/connector HttpRequestBase.java HttpResponseBase.java RequestBase.java ResponseBase.java catalina/src/share/org/apache/catalina/core

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector HttpRequestBase.java HttpResponseBase.java RequestBase.java ResponseBase.java

2001-05-13 Thread remm
remm01/05/13 21:12:35 Modified:catalina/src/share/org/apache/catalina/connector HttpRequestBase.java HttpResponseBase.java RequestBase.java ResponseBase.java Log: - Return facade objects instead of the unsafe internal request / res

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core ApplicationHttpRequest.java ApplicationHttpResponse.java ApplicationRequest.java ApplicationResponse.java

2001-05-13 Thread remm
remm01/05/13 21:10:09 Modified:catalina/src/share/org/apache/catalina/core ApplicationHttpRequest.java ApplicationHttpResponse.java ApplicationRequest.java ApplicationResponse.java Log: - The request and res

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core StandardWrapper.java

2001-05-13 Thread remm
remm01/05/13 21:08:52 Modified:catalina/src/share/org/apache/catalina/core StandardWrapper.java Log: - Use a facade for servlet config. Revision ChangesPath 1.23 +5 -5 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/S

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session StandardSessionFacade.java

2001-05-13 Thread remm
remm01/05/13 21:07:56 Added: catalina/src/share/org/apache/catalina/session StandardSessionFacade.java Log: - Add facade for the standard session object. Revision ChangesPath 1.1 jakarta-tomcat-4.0/catalina/src/share/org/ap

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core ApplicationContextFacade.java StandardWrapperFacade.java

2001-05-13 Thread remm
remm01/05/13 21:07:32 Added: catalina/src/share/org/apache/catalina/core ApplicationContextFacade.java StandardWrapperFacade.java Log: - Add facade for the wrapper (servlet config). - Add facade for the application context (ser

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector HttpRequestFacade.java HttpResponseFacade.java RequestFacade.java ResponseFacade.java

2001-05-13 Thread remm
remm01/05/13 21:06:46 Added: catalina/src/share/org/apache/catalina/connector HttpRequestFacade.java HttpResponseFacade.java RequestFacade.java ResponseFacade.java Log: - Add request and response facades. Revision Changes

Re: [tomcat 4] RequestUtil.parseParameters() method

2001-05-13 Thread tttye
I remember this code. It is correct given previous development history. The bytes in the input data string are NOT encoded. The look back earlier to where the original byte array from the browser is converted to a string. You will notice that no encoding is applied to the bytes as they are stor

Re: [tomcat 4] RequestUtil.parseParameters() method

2001-05-13 Thread kevin seguin
> > > > it's also used to parse form data, right? can form data have non > > US-ASCII characters? > > No. Form data uses parseParameters(Map, byte[], String encoding) for that > reason. > ahh... that's what i missed. thanks. > If the thing was memory efficient, the url should still be in byt

Re: [tomcat 4] RequestUtil.parseParameters() method

2001-05-13 Thread kevin seguin
> > > what might be an even more relevant question is why convert the string > > to bytes anyways? these bytes just end up in new strings, so why not > > perform the parsing logic on chars rather than bytes? seems like > > unecessary conversions to/from bytes/strings > > Well, there are a

Re: [tomcat 4] RequestUtil.parseParameters() method

2001-05-13 Thread Remy Maucherat
> > We use simple byte conversion there because the String which is passed here > > (the query portion of the URL) is supposed to only have US-ASCII characters. > > > > it's also used to parse form data, right? can form data have non > US-ASCII characters? No. Form data uses parseParameters(Map,

Re: [tomcat 4] RequestUtil.parseParameters() method

2001-05-13 Thread Remy Maucherat
> what might be an even more relevant question is why convert the string > to bytes anyways? these bytes just end up in new strings, so why not > perform the parsing logic on chars rather than bytes? seems like > unecessary conversions to/from bytes/strings Well, there are a number of opera

Re: [tomcat 4] RequestUtil.parseParameters() method

2001-05-13 Thread kevin seguin
> We use simple byte conversion there because the String which is passed here > (the query portion of the URL) is supposed to only have US-ASCII characters. > it's also used to parse form data, right? can form data have non US-ASCII characters?

Re: [tomcat 4] RequestUtil.parseParameters() method

2001-05-13 Thread kevin seguin
what might be an even more relevant question is why convert the string to bytes anyways? these bytes just end up in new strings, so why not perform the parsing logic on chars rather than bytes? seems like unecessary conversions to/from bytes/strings -kevin. kevin seguin wrote: > > i just

Re: [tomcat 4] RequestUtil.parseParameters() method

2001-05-13 Thread Remy Maucherat
> i just happened to be looking through the RequestUtil.parseParameters() > method, and something struck me as odd. since i don't know the history > here, i figured i'd ask someone who does... > > anyway, the method looks something like this: > > public static void parseParameters(Map map, St

[tomcat 4] RequestUtil.parseParameters() method

2001-05-13 Thread kevin seguin
i just happened to be looking through the RequestUtil.parseParameters() method, and something struck me as odd. since i don't know the history here, i figured i'd ask someone who does... anyway, the method looks something like this: public static void parseParameters(Map map, String data, S

Re: [PROPOSAL AJP14] AJP13 Evolution

2001-05-13 Thread kevin seguin
in the java side of ajp13, it is pretty much assumed that strings are iso-8859-1 encoded. (i'm not sure how things that deal with MessageBytes that come out of ajp13 deal with encoding...). is this a potential problem? i realize that for things like standard header names this will generally not

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets InvokerServlet.java LocalStrings.properties ManagerServlet.java

2001-05-13 Thread craigmcc
craigmcc01/05/13 17:02:33 Modified:catalina/src/share/org/apache/catalina/core StandardWrapper.java catalina/src/share/org/apache/catalina/servlets InvokerServlet.java LocalStrings.properties ManagerS

Re: [Proposal] Default Encoding option for JSP/Tomcat in server.xml or web.xml

2001-05-13 Thread Remy Maucherat
> "Craig R. McClanahan" wrote: > > > > [...] > > > > On Sun, 13 May 2001, Alec Yu wrote: > > > > > > [snip] I just feel curious, why the standard specifications cost > > > people here so much maintainance time, just because they don't allow > > > us to specify default encodings for compilation tim

Re: [Proposal] Default Encoding option for JSP/Tomcat in server.xml or web.xml

2001-05-13 Thread Bip_Thelin/people/razorfish
"Craig R. McClanahan" wrote: > > [...] > > On Sun, 13 May 2001, Alec Yu wrote: > > > > [snip] I just feel curious, why the standard specifications cost > > people here so much maintainance time, just because they don't allow > > us to specify default encodings for compilation time, input time and

Re: Trying New Connectors Build Stuff

2001-05-13 Thread Jon Stevens
on 5/13/01 10:43 AM, "Pier P. Fumagalli" <[EMAIL PROTECTED]> wrote: > Hmm... Ok, but AFAIK apxs exists also in Apache 2.0, which is the module I'm > writing right now... Could I call it --with-apxs2 ??? How does that sound? No need. That is the point of --with-apxs[=FILE]... you can optionally p

Re: Trying New Connectors Build Stuff

2001-05-13 Thread Jon Stevens
on 5/13/01 10:53 AM, "Amy Roh" <[EMAIL PROTECTED]> wrote: > I prefer Cygwin personally. Thanks, Pier! > > Amy +1 I know that MSVC is probably "nicer", but with cygwin more people can use it, it is free, etc... This was a problem with Jserv...only people with MSVC could compile it. That sucke

Re: Class Reloading

2001-05-13 Thread cmanolache
On Sat, 12 May 2001, Glenn Nielsen wrote: > [EMAIL PROTECTED] wrote: > > > > If the security manager is not used everything has AllPermissions - the > > fact that someone can access the internal objects is quite small compared > > with the fact that it could call System.exit() and read/change an

Re: Trying New Connectors Build Stuff

2001-05-13 Thread Amy Roh
> kevin seguin at [EMAIL PROTECTED] wrote: > > > >> Hmm... Ok, but AFAIK apxs exists also in Apache 2.0, which is the module I'm > >> writing right now... > > > > so... iis is next, right ;-) > > Yes, IIS is next, I just need to install Win2K on my only Intel box I have. > It's a very old Pentium

Re: JNDI/LDAP realm

2001-05-13 Thread John Holman
> I preferred binding to the directory with supplied credentials because it > allows the realm implementation to use an anonymous password for the rest of > what it needs. Yes - I think binding is the better approach in general. Also the directory can then contain password hashes rather than plai

Re: Trying New Connectors Build Stuff

2001-05-13 Thread kevin seguin
"Pier P. Fumagalli" wrote: > > kevin seguin at [EMAIL PROTECTED] wrote: > > > >> Hmm... Ok, but AFAIK apxs exists also in Apache 2.0, which is the module I'm > >> writing right now... > > > > so... iis is next, right ;-) > > Yes, IIS is next, I just need to install Win2K on my only Intel box I h

Re: Question version 1.1

2001-05-13 Thread Pier P. Fumagalli
Michael G. Anderson at [EMAIL PROTECTED] wrote: > See Question version 1.0! > Is version 3.2.2 beta 5 the latest? > or is Tomcat 4(4.4) the latest? > > What is the latest version? > > What am I missing? > > > What is going on... Nothing is going on... Tomcat 3.x is the reference implementati

utility classes

2001-05-13 Thread kevin seguin
eventually, i'd like to make use of some of the low-level util classes like MessageBytes that currently exist in tomcat 3 in jakarta-tomcat-connectors (jtc). i suppose i could just copy those classes from the tomcat 3 source to jtc but, well, code duplication is bad. there had been some talk of

Re: Trying New Connectors Build Stuff

2001-05-13 Thread Pier P. Fumagalli
kevin seguin at [EMAIL PROTECTED] wrote: > >> Hmm... Ok, but AFAIK apxs exists also in Apache 2.0, which is the module I'm >> writing right now... > > so... iis is next, right ;-) Yes, IIS is next, I just need to install Win2K on my only Intel box I have. It's a very old Pentium 366 and I hope

Re: JNDI/LDAP realm

2001-05-13 Thread Ellen Lockhart
I preferred binding to the directory with supplied credentials because it allows the realm implementation to use an anonymous password for the rest of what it needs. To allow for DN's in the directory that may not be composed of the same attributes as other DN's, one thing I was thinking about do

Re: Trying New Connectors Build Stuff

2001-05-13 Thread Pier P. Fumagalli
Craig R. McClanahan at [EMAIL PROTECTED] wrote: > > The autoconf stuff is a total mystery to me, but here's my experience so > far. > > Platform: Red Hat Linux 7.1 > > Problem 1 - Can't find APXS: > Problem 2 - Can't compile mod_webapp: Ok, this should have been fixed by Jon. I don't have a L

Re: Trying New Connectors Build Stuff

2001-05-13 Thread kevin seguin
> > Hmm... Ok, but AFAIK apxs exists also in Apache 2.0, which is the module I'm > writing right now... so... iis is next, right ;-)

Re: Trying New Connectors Build Stuff

2001-05-13 Thread Pier P. Fumagalli
Jon Stevens at [EMAIL PROTECTED] wrote: > on 5/12/01 12:19 PM, "Jack Lauman" <[EMAIL PROTECTED]> wrote: > >> Configured the connectors directory: >> >> ./configure --prefix=/usr >> --enable-DEAPI \ >> --with-apache=/usr/sbin \ (apxs lives here) >> --with-apr=/usr/java/apr \ >> --libexecdir=/us

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/facade HttpServletRequestFacade.java

2001-05-13 Thread keith
keith 01/05/13 07:11:51 Modified:src/share/org/apache/tomcat/facade Tag: tomcat_32 HttpServletRequestFacade.java Log: The string 'httpDate.pe' will not be found in the core message bundle because it is in the util bundle. Revision ChangesPath

JNDI/LDAP realm

2001-05-13 Thread John Holman
The current JNDI realm implementation in Tomcat 4 is based on code I submitted, which was subsequently modified and committed by Craig. Two significant changes he made are: - the original code found the DN of the user by searching the directory. The current implementation, like Ellen Lockhart's

Decode problems

2001-05-13 Thread Oren Deri, Nice-Eye
Hi, when putting the sign % on the url, I get "lang.IllegalArgumentException: Decode error" what can I do to avoid that 10x Oren Deri ___ <> Oren Deri (E-mail).vcf

RE: Class Reloading

2001-05-13 Thread Kevin Jones
This now works in the latest nightly drop, thanks guys, Kevin Jones DevelopMentor www.develop.com > -Original Message- > From: Kevin Jones [mailto:[EMAIL PROTECTED]] > Sent: 11 May 2001 22:44 > To: [EMAIL PROTECTED] > Subject: RE: Class Reloading > > > > But, other than efficiency concer