Ralph Einfeldt wrote: > Sorry, my answer was a bit to fast. > > There is more than one aspect of the encoding: > > - Compiletime > This aspect defines which character set is/was used to write the > source > of the page. That's what you can define with the -encoding option of > javac. > > I'm not shure, how to specify that for tomcat without the > pagedirective. > (As far as I can see, it's not possible to configure the encoding in > web.xml) > > - Runtime > This aspect defines the default character encoding while reading from > streams and > writing to streams. This can be controlled by the system property > file.encoding. > I would expect that if you set this attribute, your value is used by > tomcat to > generate and compile the page. (The spec is quite open at that point: > 'A JSP > container may use some implementation-dependent heuristics and/or > structure to determine what the expected character encoding of a JSP > is...') > I haven't tried this. > > - Requesttime > This aspect defines which character set shall be used to read the > request > from the client and to write the response to the client. This can be > controlled > by a filter.
Thank you! I think that javac -encoding is what I need. You write that you don't know way to set it in web.xml... But may be this is possible? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>