I am setting values into my dB (SQL server) and using a prepared statement
to do so. I simply put in the values from my form and that should be that.
The values (once in the dB) however have a ton of empty spaces at the end of
the values however, up to the full length of the dB field.
Here's the
:13 AM
To: [EMAIL PROTECTED]
Subject: Values not trimming - writing to DB
I am setting values into my dB (SQL server) and using a prepared statement
to do so. I simply put in the values from my form and that should be that.
The values (once in the dB) however have a ton of empty spaces at the end
.err.println(ex);
}
}
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Walt Meyer
Sent: Friday, August 25, 2000 7:11 PM
To: [EMAIL PROTECTED]
Subject: Re: [JSP-INTEREST] Values not trimming - writ
2:42 PM
To: [EMAIL PROTECTED]
Subject: Re: Values not trimming - writing to DB
Thanks for taking a look. Here's basically what I am doing. This is a
method of a bean I am using. I have determined (by testing) that the values
are still without trailing spaces once fed into the method. It seems
ailto:[EMAIL PROTECTED]]
> Sent: Friday, August 25, 2000 2:42 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Values not trimming - writing to DB
>
> Thanks for taking a look. Here's basically what I am doing. This is a
> method of a bean I am using. I have determined (by testing)