Could be an error of scope of the class?
The Counter bean is include in a "counter" package (pay attention to the
case)
When I tried the JSP demos with the serveletexec I had the same
problem..

bye

Christopher Cobb wrote:
>
> 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;
>                        ^

--
Roberto Torresani
---------------------------------------
Informatica e Statistica Applicate
Istituto Agrario di S.Michele all'Adige
Via E.Mach, 1
38010 S.Michele a/Adige - TN - ITALY
---------------------------------------
Tel. 0461/615230 - Fax. 0461/650872

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to