Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Tomcat 5.5.7 compiler settings

Trond G. Ziarkowski

2005-02-11


Hi all!

I have just upgraded from 5.0.28 to 5.5.7. My only problem is that
Tomcat can't compile some of my jsps that are using features found in
jdk1.5 (auto-boxing).

I have tried adding:
    <init-param>
          <param-name>compilerSourceVM</param-name>
          <param-value>1.5</param-value>
    </init-param>
    <init-param>
          <param-name>compilerTargetVM</param-name>
          <param-value>1.5</param-value>
    </init-param>

under the jsp servlet in CATALINA_HOME/conf/web.xml without any luck.

If I precompile my jsps with jdk1.5.0 it works, but in my development
environment I would like Tomcat to compile my jsp files.


Any help appreciated

Trond


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.