Hi Ladies and Gentlemen

I want to insert data into a database.  I have the database connection 
set up and in the case of data without special characters the insert 
works fine.
However, the data is coming from a form on a html page and the user can 
insert special characters,  in particualar characters like

\
'

cause a problem when I try and insert into the database since they are not
escaped when I construct the query which is put into the database.  Does 
Struts provide function/s which can help with inserting text from a html 
form into a database.
  How do other people handle this situtation?

Cheers

Tony



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

Reply via email to