To give myself warm and fuzzies, I would like to get the 0.92 demos running under
JRun. I have the preliminaries done (compiling), and the first demo (Date/Time)
works. But the second demo ("Application bean with counter") gives me some errors
(see below).
It looks like part of my problem is classpaths and package definitions. This demo
uses the java file Counter.java which belongs to package counter. JSP therefore needs
to find class counter.Counter.
However, it complains about not being able to find class
"jsp.jspdemo.samples.counter.counter. Counter". The initial 'jsp.' is apparently
being added by JRun. The 'jspdemos.' comes from the directory I have set up in my
webroot to point to the 0.92 jsp directory. The 'samples.' is also picked up because
the URL I am using is:
http://localhost/jspdemo/samples/counter/counter.jsp
My question is: do I have to muck with the demo code to get this to match up with
JRun's expectations, or is there some way to get JRun on the program? I didn't see
any way to tell JRun what to put in it's classpath.
(I'm using JRun 2.3 on NT 4 with IIS.)
Chris
Here is the error:
-------
500 Internal Server Error
JSP Compile Error(s)
F:\JRun\jsm-default\services\jse\servlets\jsp\jspdemo\samples\counter\counter.java,
line 61: Class
jsp.jspdemo.samples.counter.counter. Counter not found.
counter.Counter cbean = null;
^
begin:vcard
n:Cobb;Christopher
tel;cell:703-909-7550
tel;fax:703-648-7475
tel;work:703-648-6725
x-mozilla-html:TRUE
org:Powerhouse Technologies, Inc.
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:SW Architect
fn:Christopher Cobb
end:vcard