Hi!In my JSP pages I have a serious problem.I want use Turkish characters and the code type of Turkish is
ISO-8859-9 .
However,when I deploy my servlets and JSPs into war file and allow to run it,I am getting that exception message:
"java.lang.RuntimeException: Unknown/unsupported charset: ISO-8859-9 - java.io.UnsupportedEncodingException: Charset: ' ISO-8859_9' not recognized, and there is no alias for it in the WebServerMBean".
Here is the syntax in my jsp files. (All of the jsp of mine give the same error!)
<%@ page contentType="text/html; charset= ISO-8859-9"%>
Also there are 2 extraordinary things.
1.
<%@ page contentType="text/html; charset= ISO-8859-1"%>
also gives the same error.That means even standart latin code page does not work.
2.
When I omit this and instead type
<%
response.setContentType("text/html; charset=ISO-8859-9"
%>
it gives no error but I can't see the special Turkish characters.What could be the reason for that?
Thanks for spending time.
Salih Sipahi
Software Engineer.
City of Istanbul Turkey
openyourmind77@yahoo.com
ISO-8859-9 .
However,when I deploy my servlets and JSPs into war file and allow to run it,I am getting that exception message:
"java.lang.RuntimeException: Unknown/unsupported charset: ISO-8859-9 - java.io.UnsupportedEncodingException: Charset: ' ISO-8859_9' not recognized, and there is no alias for it in the WebServerMBean".
Here is the syntax in my jsp files. (All of the jsp of mine give the same error!)
<%@ page contentType="text/html; charset= ISO-8859-9"%>
Also there are 2 extraordinary things.
1.
<%@ page contentType="text/html; charset= ISO-8859-1"%>
also gives the same error.That means even standart latin code page does not work.
2.
When I omit this and instead type
<%
response.setContentType("text/html; charset=ISO-8859-9"
%>
it gives no error but I can't see the special Turkish characters.What could be the reason for that?
Thanks for spending time.
Salih Sipahi
Software Engineer.
City of Istanbul Turkey
openyourmind77@yahoo.com