I tried configuring the charset to UTF-8 in my JBoss 4 but I was unable to do that successfully.
There is a requirement to accept arabic characters in my application.
Although I know this could be achieved through direct encoding in jsp, I want to try doing that through configuration in JBoss.
I tried the below in server.xml
but in vain.
<Connector .... URIEncoding="UTF-8" .... />
Subsequently changed the run.bat
file
JAVA_OPTS=-Dfile.encoding=utf-8 %JAVA_OPTS%
the above change in the run.bat file collapsed the whole server.
Is there any workaround to set the encoding to UTF-8 directly in the server rather than through JSP? The end result is that my application should allow arabic characters.