Hi everybody,
I am a neophyte in JSP. I have tried to launch JSP pages with database
connectivity due to trying this technology.
I use a bean to establish the connectivity (sun.jdbc.odbc.JdbcOdbcDriver and
jdbc:odbc bridge used) and call methods of this bean from JSP to navigate in
database (resultSet made by executeQuery()) and, of course, to write
obtained data (resultSet.getSring("field"))into the final HTML.
It works with a tiny problem only. The problem is: coding of strings. In
database I use a special national characters and I am not able to
"penetrate" them into HTML. It seems to me that these characters are
transformed on way.
Vice versa I have tried to fill a HTML form and add a row into the database
through the JSP file and the bean (statement.executeUpdate(MyInsertSQL)) and
there is the same problem: data in database are stored incorrectly.
I need to have the same information on both sides HTML and database.
Is there any way to avoid this problem?
Should I use a different connectivity (there is no native JDBC driver to my
data source)?
Maybe this problem is off topic because it could be a problem of Java itself
but.
Thank you for any help.
Jaromir.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".