Howto build an UTF-8 Struts webapp?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Arnaud_Vandyck
Posted On:   Thursday, October 7, 2004 05:50 AM

Hi, I'd like to build a comlete UTF-8 Struts webapp but I got some problems coding problem on some parts of my app. First, I did it with the % tags and it works, but now I'd like to use the xml syntax and my menu has some encoding problems. I use 'tiles' and my menu looks like this: <?xml version="1.0" encoding="UTF-8" ?> xmlns:html="/tags/struts-html" xmlns:bean="/tags/struts-bean" version="1.2"> contentType="text/html; charset=utf-8"/> Link with an accent Now that I switched the menus and the main 'til   More>>

Hi,


I'd like to build a comlete UTF-8 Struts webapp but I got some problems coding problem on some parts of my app.



First, I did it with the % tags and it works, but now I'd like to use the xml syntax and my menu has some encoding problems.



I use 'tiles' and my menu looks like this:

			
<?xml version="1.0" encoding="UTF-8" ?>

xmlns:html="/tags/struts-html" xmlns:bean="/tags/struts-bean" version="1.2">

contentType="text/html; charset=utf-8"/>

  • Link with an accent




Now that I switched the menus and the main 'tile' file from the % notation to the xml notation, accents are not well coded.


Is herea reference somewhere that explain how to set up an UTF-8 web application with Struts (and/ or Tomcat?).


Many thanks for your help

   <<Less
About | Sitemap | Contact