Hi, not sure if I should be tackling this from the app side or the database
side.

I have a struts (1.1) application that is working against an Oracle 9i
database using utf-8 as character set.

Things work just lovely until somebody fills up a textbox and uses
characters that will be stored in 2 or 3 bytes by the database.  While my
validation is doing its thing of making sure the text entered is no longer
than x characters, the database is still failing because the column only
allows x bytes.

Can I change my validation to check for bytes?  Or what else can I do to fix
it?  I'm hoping there's something quick and dirty, since we're a
hairs-breadth from going into production.

Thanks,
J


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to