En l'instant précis du 02/15/07 13:23, Alicia Sánchez-Mora s'exprimait en ces termes: > > > What happens here is that you cannot convert a string to long and this > cause tomcat to throw a NumberFormatException. No, tomcat does not throw a NumberFormatException, The library does it and you do not catch it in your code. > This is why I created a > custom UnsignedByte class as I already wrote. So my question is still > why in > the server side (tomcat is running) the blob length is cero? Probably because "this is a test" could not be converted to anything meaningfull and finished as '0' ?
You have a service that seems to expects an 'Unsigned Byte', you are putting great efforts to provide it with a random non numeric String instead of an number in correct range, and then you are wondering why it does not work?!? This is a nonsense. > > > > On 2/15/07, David Delbecq <[EMAIL PROTECTED]> wrote: >> >> En l'instant précis du 02/15/07 13:10, Alicia Sánchez-Mora s'exprimait >> en ces termes: >> > Hello again, >> >> > final UnsignedByte ptr = new UnsignedByte("this is a test") ; >> >> "this is a test" <-- How do you expect any implementation of anything to >> convert this string to a number???? >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]