Hi,

One of the patches I need to get TC working with JSP in EBCDIC is the following:
+++
--- /home2/tomcat5/apache-tomcat-5.5.15-src.org/jasper/jasper2/src/share/org/apa che/jasper/compiler/ParserController.java 2006-01-03 15:15:14.000000000 +0
000
+++ apache-tomcat-5.5.15/apache-tomcat-5.5.15-src/jasper/jasper2/src/share/org/a pache/jasper/compiler/ParserController.java 2006-03-15 09:31:28.000000000 +0
000
@@ -372,7 +372,8 @@
        * Determine the page encoding from the page directive, unless it's
        * specified via JSP config.
        */
-       sourceEnc = jspConfigPageEnc;
+        if (jspConfigPageEnc != null)
+           sourceEnc = jspConfigPageEnc;
       if (sourceEnc == null) {
           sourceEnc = getPageEncodingForJspSyntax(jspReader, startMark);
           if (sourceEnc == null) {
+++

If I get it right I would say that if jspConfigPageEnc is null we should used the sourceEnc to read the JSP file, so this patch is also needed for all the encodings.

Any comments?

Cheers

Jean-Frederic

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to