RE: [ANNOUNCE] Release of Commons HttpClient 2.0 Release Candidate 2

2003-10-13 Thread Wilcox, Mark
Um -- but Maven and Tomcat are applications, HttpClient is a library. And given the variety of ways that you can import a library with Java, I'm not sure exactly what the Win32 would give you over unzip & go. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMA

fileupload question

2003-09-22 Thread Wilcox, Mark
How can I set the mime-type of a file during fileupload? thanks, mark

RE: A weird issue

2003-07-11 Thread Wilcox, Mark
Which JRE is she using? It looks like URI is using this class. The offending code should just be removed (I will take care of it this evening). Mike Wilcox, Mark wrote: > One of the people who I'm working with is getting this

RE: content-transfer-encoding issue

2003-07-11 Thread Wilcox, Mark
sferEncoding("paramName", "paramValue")); Mike Wilcox, Mark wrote: > I'm sending a multi-part form and that's ok, but the remote server is choking on > Content-Disposition: form-data; name=

A weird issue

2003-07-11 Thread Wilcox, Mark
One of the people who I'm working with is getting this when she tries to run a sample HTTPClient application from ant? java.lang.NoClassDefFoundError: sun/security/action/GetPropertyAction any ideas Mark

content-transfer-encoding issue

2003-07-11 Thread Wilcox, Mark
I'm sending a multi-part form and that's ok, but the remote server is choking on Content-Disposition: form-data; name="FILENAME" Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit 26722 Specifically it's trying to process Content-Tranfer-Encoding: 8bit\r\n\r\n26722 as the

RE: Is HttpClient supported by non-Sun VMs?

2003-07-03 Thread Wilcox, Mark
I'd agree. I think at some point you just have to put the line in the sand (funny when we do it, it's ok, when M$ did it with Win 3.1 with Win95, we bitch and moan :) because the costs of maintaining for older JDK's are much higher than any benefits on those platforms. Mark -O

RE: Occassional long download times

2003-07-03 Thread Wilcox, Mark
I think the issue is that System.currentTimeMillis() isn't the most exact way to detemine any type of real benchmark. I think it's probably something with either lots of threads and/or garbage collection and/or something do with so many network connection processing simultaneous on your system.

figured it out -- logging

2003-07-01 Thread Wilcox, Mark
Hi, I figured out how to get logging working with Log4J. thanks for the nudge in the right direction. Mark

RE: logging question

2003-07-01 Thread Wilcox, Mark
you have to use the Log4j configuration. Mike Wilcox, Mark wrote: > Hi, > Do you have to do anything special to get SimpleLog to output to the console? > I've done the following: > >

RE: Out of luck... was RE: Posting Issues was RE: Cookie Issues

2003-07-01 Thread Wilcox, Mark
Did you check to see if perhaps you're sending "\n" and the browser is sending "\r\n"? A blind stab in the dark :). Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tue 7/1/2003 3:51 PM To: 'Commons HttpClient Project'

logging question

2003-07-01 Thread Wilcox, Mark
Hi, Do you have to do anything special to get SimpleLog to output to the console? I've done the following: System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog"); System.setProperty("org.apache.commons.logging.simplelog.showdatetime",

RE: Welcome Adrian

2003-06-03 Thread Wilcox, Mark
>And if anyone ever works out how a company with just 15 employees winds >up having this much trouble approving one signature I'd love to hear >the explanation... :) The answer is a song called "contracts, lawsuits and lawyers" :). Or as I like to say it -- everyone is a geek at something. Lawy

RE: Java can leak...

2003-05-30 Thread Wilcox, Mark
Jan, Good point. With Java you don't have to remember as much about silly things like malloc and free in C/C++ which led to all sorts of problems. However, you do have to worry about GC, object creation and holding on to objects for too long. Something like HPJMeter may help in analyzing the