Posted By:
Timo_Ratilainen
Posted On:
Thursday, November 14, 2002 08:06 AM
I need to see the servlet (.java) code of a simple JSP code like this: <% out.println("Testing."); %> I installed Ant 1.5 and Tomcat 4.1.12. build.xml file for Ant is like this: simple JSP compile destdir="." verbose="9" classpath="C: empTomcat-4.1.12commonlib"> that common/lib includes jasper-runtime.jar and jasper-compiler.jar. and when trying to compile: C: emp est>ant Buildfile: build.xml compile: [jspc] Compiling 1 source fileC: emp est
More>>
I need to see the servlet (.java) code of a simple JSP code like this:
<% out.println("Testing."); %>
I installed Ant 1.5 and Tomcat 4.1.12.
build.xml file for Ant is like this:
simple JSP compile
destdir="."
verbose="9"
classpath="C: empTomcat-4.1.12commonlib">
that common/lib includes jasper-runtime.jar and jasper-compiler.jar.
and when trying to compile:
C: emp est>ant
Buildfile: build.xml
compile:
[jspc] Compiling 1 source fileC: emp est
[jasperc] java.lang.NoClassDefFoundError: org/apache/jasper/JspC
[jasperc] Exception in thread "main"
BUILD FAILED
file:C:/temp/test/build.xml:10: Java returned: 1
Total time: 3 seconds
C: emp est>
Any ideas?
Is there any other way to compile single or few JSP pages, so that I would see the servlet code? I'm using JBuilder6 and as far as I know its not possible to see servlet code in JBuilder.
TR
<<Less