Scott,
Thanks for your continued assistance.
I changed my compiler back to jikes. I then changed the expression from "1 /
0" to "1 + b" in order to throw an error other than divide by zero. JRun
still reports the error directly on the page instead of changing to the
exception handling page.
I didn't mean for this to turn into a time-sink for you. :-) Mainly I'd
like to have a rudimentary way to handle exceptions while I'm still learning
Java. The example from ch. 4 would be great if I could get it to run on my
machine.
Here's my code that sets up compiler services:
jsp.javac-in-proc.class=allaire.jrun.scripting.JavaCompilerService
jsp.jikes.class=allaire.jrun.scripting.JavaCompilerService
jsp.jikes.compiler={jrun.rootdir}/bin/jikesw +E -g -nowarn -d %d %f
jsp.jikes.error.regexp=\\([^:]*\\):\\([0-9]*\\):[0-9]*:[0-9]*:[0-9]*:\\([^\n
]*\\)[\n$]
jsp.jikes.error.regexp.filesubexpr=1
jsp.jikes.error.regexp.linesubexpr=2
jsp.jikes.error.regexp.errorsubexpr=3
Thanks,
Marc Garrett
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists