Re: Bug in HttpServletRequest.getQueryString()? from POST

2001-01-30 Thread horn_ken
The query string is ONLY the parameters passed on the URL after the ?, these can appear on both a GET and a POST (though for POST it would have to be in the action URL itself, not a form parameter). If you want the list of parameters from form fields on a POST, you can get them via

RE: Syntax and Performance

2001-01-23 Thread horn_ken
In terms of performance, little difference is caused by splitting scriptlets (perhaps the extra print noted below. However, this may be a typo on your part, but %! String hostname;% declares an *instance* variable "hostname". While this assignment: % hostname=

RE: Corrupted files on jakarta server ?

2001-01-19 Thread horn_ken
I noticed the other day that .tar.gz files I picked up were really just .tar .. confused the gunzip I was using.. [EMAIL PROTECTED] on 19/01/2001 10:52:33 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Ken X Horn) Subject: RE: Corrupted files on jakarta server ?

RE: Tomcat Performance Questions

2001-01-16 Thread horn_ken
Sorry if I missed it, early on in the thread, but what servlets etc are you testing the configurations with? In order to assess the performance of the engine, you should be using simple, easily analysed servlets, doing a minimum of functionality. Say, a snoop servlet, a session servlet, and

RE: bizarre JasperException on Solaris box

2001-01-10 Thread horn_ken
Ask around again ;o) -- the method size limit is actually due to the 16bit offset inside a class file. It's not javac. JDK 1.3 won't help either (afaik). I had this problem when using a lot of tags on my page -- they generate loads of code. You could either using scriptlets to call the functions

Re: AW: Tomcat on linux without X

2001-01-09 Thread horn_ken
Make sure the DISPLAY variable is not set -- the JVM uses this as an indication of X. This won't be enough on some VM's, so you can install xvfb (virtual frame buffer -- a dummy X server). This will make any app think X is running. [EMAIL PROTECTED] on 09/01/2001 05:47:22 Please respond

RE: Multiple GETs on an SSLSocket

2000-12-12 Thread horn_ken
I wouldn't rely on the ready() to get this right - it will depend on whether data has arrived in the underlying stream (native). This will probably be system dependent ;o) The only way I've had this working reliably is to rely on content length headers or chunking. Chunking is probably best it

Re: Multiple GETs on an SSLSocket

2000-12-08 Thread horn_ken
Have you tried this on a non-SSL connection? A general problem with the IO in java (afaik) is that, if you read from the stream, such that you get a -1 returned, then the stream is effectively closed. You have to reconnect (I haven't tried SSL on this, but a plain socket works like this). If

RE: $20 bucks to the 1st person who actually solves my problem!!!

2000-12-08 Thread horn_ken
This last one sounds odd but does work sometimes, alternatively, when you send the add/delete command back, make it a POST on the form, IE will expect this to be dynamic data and not cache. Make the link submit the form with appropriate parameters. Ken. [EMAIL PROTECTED] on 08/12/2000