struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Theodosios Paschalidis" <>
Subject Re: Tomcat/Struts Unicode Encoding/Decoding problems [RESOLVED]
Date Fri, 23 Jan 2004 16:40:51 GMT
Thank you Wendy,

actually it worked (the utf-8) even without the file proparly validated in
my IDE. I also thought I had the latest version (a backup restore probably
messed this up).

I changed it to 2.3 restarted my IDE (NetBeans) but still does not validate.
Both 2.2 and 2.3 dtd files are in my web-inf\lib.

If the actual server didn't use the web.xml because of failed validation it
wouldn't work at all while in fact it works with the extra filter properly

If, at your convenience, somebody could mention what exactly needs to be
checked for  Servlet 2.3 compliance, it would be great. Chances are that I
have a mix of different version files.

Thank you for your time and enjoy your weekend (I know I will, thanks to Jim
;-), I am indebted )

----- Original Message ----- 
From: "Wendy Smoak" <>
To: "Struts Users Mailing List" <>
Sent: Friday, January 23, 2004 4:11 PM
Subject: RE: Tomcat/Struts Unicode Encoding/Decoding problems

> From: Theodosios Paschalidis []
> here is the beginning of my xml document.
> <!DOCTYPE web-app
>   PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
>   "">
> Any ideas?

Coming in late here, but Filters arrived in Servlet 2.3.  You're still
using the 2.2 dtd.  Change to

<!DOCTYPE web-app
  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"

(Interesting, I had and
apparently it's been changed since I copied and pasted that in who knows
how long ago.)

Assuming you're on a 2.3 compliant container, Tomcat 4.1 is fine.  Also
make sure that you put the tags in the right order according to the dtd.

Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message