-
1. Re: JSP's in jboss-3.0alpha
adrian.brock Jan 10, 2002 9:13 PM (in response to davecummins)Which 3.0?
There is a problem with some earlier versions of 3.0
not including the java compiler in the classpath.
Here's some code from the latest 3.0 run.bat
REM Include the JDK javac compiler for JSP pages. The default is for a Sun JDK
REM compatible distribution to which JAVA_HOME points
set JAVAC_JAR=%JAVA_HOME%\lib\tools.jar
set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%JAVAC_JAR%;run.jar
and run.sh
# Include the JDK javac compiler for JSP pages. The default is for a Sun JDK
# compatible distribution which JAVA_HOME points to
if [ "x$JAVAC_JAR" = "x" ]; then
JAVAC_JAR="$JAVA_HOME/lib/tools.jar"
fi
if [ "x$JBOSS_CLASSPATH" = "x" ]; then
JBOSS_CLASSPATH="$JBOSS_BOOT_CLASSPATH:$JAVAC_JAR"
else
JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_BOOT_CLASSPATH:$JAVAC_JAR"
fi
Regards,
Adrian