I ran into the same problem. I think the problem is that the class files for package
counter end up in a different directory than the jsp servlets for package counter.
There seems to be class resolution problems when there are two class directories with
the same name.
If you rename the package to 'count', it works.
cc
Gao Xiaofan wrote:
> Hi all
>
> As a newbie in JSP, I've just set-up my Jrun2.3(free version) with IIS 3.0 to
> run the counter.jsp sample via
>
> http://localhost/jspsamp092/samples/counter/counter.jsp
>
> However, I got a message as follows(please note:The other samples like
> snoop.jsp work very well. ):
>
> ===================================================
> 500 Internal Server Error
>
> JSP Compile Error(s)
>
>
>D:\JRun\jsm-default\services\jse\servlets\jsp\jspsamp092\samples\counter\counter.java,
> line 3: Class
> counter.Counter not found in import.
>
> import counter.Counter;
> ^
>
> =====================================================
>
> At the same time, I've configured my jsm.properties file as follows:
>
> ==================================================
> redirect.stderr=true
> jrun.api21=false
> redirect.stdout=true
> admin.port=9090
> admin.bindaddress=*
> jrun.rootdir=D:/JRun
> java.path=D:\\JRun\\examples\\jni
>
>java.classpath=D:\\JRun\\jsm-default\\services\\jse\\servlets\\jsp\\jspsamp092\\samples;D:\\JRun\\jdk1.2\\jre\\lib\\i18n.jar;D:\\JRun\\jdk1.2\\jre\\lib\\rt.jar;D:\\jdk1.2\\lib\\tools.jar;D:/JRun/classes;D:/JRun/jsm-default/classes;D:/JRun/lib/jrun.jar;D:/JRun/lib/servlet.jar;D:/JRun/lib/jrunadmin/jrunadmin.jar;D:/JRun/lib/jrunadmin/swing.jar;
>
> java.exe=D:\\JRun\\jdk1.2\\jre\\bin\\javaw.exe
> java.args=
> java.securitymanager=
>
> =================================================
>
> Any JSP veteran can help me out?
>
> A lot of thanks in advance!!
>
> Eric Gao
===========================================================================
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".