You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/06/01 12:17:44 UTC
DO NOT REPLY [Bug 20391] New: -
no jsp jikes support (encoding option)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20391>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20391
no jsp jikes support (encoding option)
Summary: no jsp jikes support (encoding option)
Product: Tomcat 4
Version: 4.1.24
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Blocker
Priority: Other
Component: Jasper 2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: pr@webapp.de
the current jikes 1.18 windows package from jikes is released without encoding
option. Can we change
org.apache.jasper.compiler.Compiler
Line 292
javac.setEncoding(javaEncoding);
to
if(!"jikes".equals(options.getCompiler())
javac.setEncoding(javaEncoding);
every jsp compilation failed with
Generated servlet error:
[javac] Since compiler setting isn't classic or modern,ignoring fork
setting.
[javac] Compiling 1 source file
[javac] Since compiler setting isn't classic or modern,ignoring fork
setting.
[javac] use: jikes [options] [@files] file.java...
[javac] For more help, try -help or -version.
[javac] Error: The option "-encoding" is unsupported in this build.
Options:
JSPServlet
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>compiler</param-name>
<param-value>jikes</param-value>
</init-param>
<init-param>
<param-name>javaEncoding</param-name>
<param-value>ISO-8859-1</param-value>
</init-param>
<init-param>
<param-name>logVerbosityLevel</param-name>
<param-value>WARNING</param-value>
</init-param>
<load-on-startup>3</load-on-startup>
</servlet>
CATALINA_OPTS=-Dbuild.compiler.emacs=true -cp %JAVA_HOME%/jre/lib/rt.jar
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org