[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qexo-general] RE: useful servlet
From: |
ivelin |
Subject: |
Re: [Qexo-general] RE: useful servlet |
Date: |
Thu, 13 Feb 2003 08:20:18 -0600 |
-=Ivelin=-
----- Original Message -----
From: "Per Bothner" <address@hidden>
To: "Tom Reilly" <address@hidden>
Cc: "'ivelin'" <address@hidden>; "qexo" <address@hidden>
Sent: Wednesday, February 12, 2003 1:18 PM
Subject: Re: [Qexo-general] RE: useful servlet
> Ivelin Ivanov wrote:
> > String.intern() is a good idea,
>
> Actually, since we agree you need to synchronize on the
> procedureCache (Tom, can you fix this?), is there any benefit
> to intern'ing the path?
Probably not. This was supposed to be a faster variation.
>
> Tom Reilly wrote:
>
> > Hmm, I kinda liked [saveClass] as a request parameter. The use case is:
> >
> > 1) run a kawa page
> > 2) see an exception from the generated code
> > 3) request the page again with ?saveClass
> > 4) load the .class file in a decompiler/class file viewer and debug
>
> This does seem useful - but as I mentioned yesterday, it should
> perhaps have a more qexo-specific name?
>
> > Hmm, I didn't realize this class was doing any buffering. My preference
> > would be for ServletPrinter to write directly to response.getWriter
relying on the
> > servlet engine's buffering.
>
> I agree, for now. We can re-visit this later, as long as we don't have
> to change the API.
>
> I know the Kawa XML parser should be changed to work on an InputStream,
> rather than a Reader, so it can handle XML encoding specifications.
> (It can then build a Reader *after* it as seen any encoding
> specifications.) (This is an aside, and doesn't directly affect
> KawaPageServlet, of course.)
> --
> --Per Bothner
> address@hidden http://www.bothner.com/per/