X-Application Version: 3.1.2
Tamino Version : 3.1.1
Platform : Windows2000 Professional
WebContainer : Tomcat 3.3
JDK Version : 1.3.0_02
Hi,
I am trying to read the data from the Tamino database. Unfortunately, there is a problem with Polish marks. I generated my application using Tamino X-Application and I tried to change the source of the search.jsp. I would like to know how to make a query using encoding type “windows-1250”
I made a query using IE6 and the following:
http://localhost/tamino/Abon_new/tel_xql=Abon_new[nazwisko=‘???ó???Ó???’] doesn’t work, but
http://localhost/tamino/Abon_new/tel?_encoding=Windows-1250&_xql=Abon_new[nazwisko=‘???ó???Ó???’] works correctly.
In the search.jsp file I used:
and then I couldn’t find some data, which contain the Polish marks, so it doesn’t work correctly.
I tried to change it in the following way :
but the error message appeared:
Error message: 157: Exception when creating query.
Help message: Based on the query parameters X-Application created a query string. But, this string was not accepted by Tamino. Look at the message of the stack trace to find the reason of the problem.
Exception Type: DesignException
Maybe anybody could help me to solve my problem.
Regards,
vs
Hello,
when working with X-Application the encoding becomes relevant for your JSP pages and the Servlet Container (e.g. Tomcat).
Just before a few days, I sent a post to the I18N forum. Therefore, have a look a the following topic diacritic symbols in jsp-files?. I hope, it explains the problem: the encoding for your pages is controlled by the page directive of your JSP pages and the default encoding of Tomcat.
Bye,
Christian.
Thank you very much for your help.
Best regards,
vs