Re: change server default enconding -Where to set JAVA_OPTS in catalina.sh for UTF8?

2006-10-11 Thread Java Development Team
I have used a sevlet filter and translte from ISO8859_1 to UTF8 just works through all application. > > 1) there are 20 results for Djavax.servlet.request.encoding in google ^^ > > (but am really not sure this parameter really exists in tomcat) > > My bad. I kept the "-" in front which, of course

Re: Switching default index page from xml to xql

2006-10-10 Thread Java Development Team
Hi, if Iunderstood corectly you have a seperate application that you want change its welcome page. You should put the prefferred welcome page in the applications web.xml ex. prefferredfile.xql This is the default way of doing this in web apps I hope Ive helped - Original Message

change server default enconding -Where to set JAVA_OPTS in catalina.sh for UTF8?

2006-10-10 Thread Java Development Team
Hi everyone. Iam trying to change server default enconding from ISO8859_1 to UTF8. Till now I found 2 differrent solutions. The fisrt one is to use the following in my catalina.sh: set JAVA_OPTS=-Djavax.servlet.request.encoding=UTF-8 -Dfile.encoding=UTF-8 Putting this line in the start of my cata