I did put the class MyClass in C:\JRun\jsm-default\classes. So, why is the class MyClass, in that directory, not found when JRUN compiles my JSP page? The JSP page has then following line and the following error: <% MyClass mc = new MyClass(); %> error: Class jsp.MyClass not found Thanks Ralph Eddy 415-383-4924 fax) 415-383-6560 mailto:[EMAIL PROTECTED] > -----Original Message----- > From: A mailing list for discussion about Sun Microsystem's > Java Servlet > API Technology. [mailto:[EMAIL PROTECTED]]On > Behalf Of Erik > Sahl > Sent: Thursday, June 03, 1999 12:38 PM > To: [EMAIL PROTECTED] > Subject: Re: Finding my Classes using JSP in JRun 2.3 on NT > > > You can put 'MyClass' anywhere there is a reference to it in JRun's: > $JRUN_HOME/jsm-default/properties/jrun.properties > > file. You should look at the java.classpath variable and > either (1)add a > new directory to it (using either \\ or / if you're using a > Windows machine; > / for Unix) or (2) simply find one of the already defined > directories listed > and add your class there. > > > > Erik Sahl > > [EMAIL PROTECTED] > > > -----Original Message----- > > From: A mailing list for discussion about Sun Microsystem's > Java Servlet > > API Technology. [mailto:[EMAIL PROTECTED]]On > Behalf Of Ralph > > Eddy > > Sent: Thursday, June 03, 1999 1:28 PM > > To: [EMAIL PROTECTED] > > Subject: Finding my Classes using JSP in JRun 2.3 on NT > > > > > > My JSP page is unable to find my classes. > > > > <% MyClass mc = new MyClass(); %> > > I get the following error: Class jsp.MyClass not found > > > > Where do I put my classes? > > > > I have been told to put my classes in a directory and include > > that directory > > in JRun's class path. Which properties file do I modify to do this? > > > > Or - could I put my classes in C:\JRun\jsm-default\classes ? > > > > I understand that I will need to restart JRun to reload > these classes. > > > > Thanks > > > > Ralph Eddy > > 415-383-4924 > > fax) 415-383-6560 > > mailto:[EMAIL PROTECTED] > > > > __________________________________________________________________ > > _________ > > To unsubscribe, send email to [EMAIL PROTECTED] and include > > in the body > > of the message "signoff SERVLET-INTEREST". > > > > Archives: > http://archives.java.sun.com/archives/servlet-> interest.html > > > Resources: > http://java.sun.com/products/servlet/external-resources.html > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > > > ______________________________________________________________ > _____________ > To unsubscribe, send email to [EMAIL PROTECTED] and > include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: > http://java.sun.com/products/servlet/external-> resources.html > > LISTSERV Help: > http://www.lsoft.com/manuals/user/user.html > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
