I've just downloaded and compiled Apache-JServ-20000524.tar.gz and
I think the ENCODING static variable is missing from JServDefs.java.in:
Compiling Ajpv12InputStream.java ...
Ajpv12InputStream.java:107: No variable ENCODING defined in interface org.apache.jserv.JServDefs.
return new String(b,JServDefs.ENCODING);
^
1 error
This is my first hack to this fine product so here goes....
Here's a patch to JservDefs.java.in:
------------------------------------------------------
diff -u JServDefs.java.in.old JServDefs.java.in
--- JServDefs.java.in.old Wed May 24 14:45:06 2000
+++ JServDefs.java.in Wed May 24 15:16:16 2000
@@ -93,4 +93,10 @@
* The default is false.
*/
public static final boolean PROFILE = false;
+
+ /**
+ * Defines the charater encoding type.
+ */
+ public static final String ENCODING = "ISO-8859-1";
+
}
The same is true for JServDefs.java.
Regards,
William Wong
