Beau, Put your class files in the WEB-INF\classes directory of your web application. No change to your system classpath is necessary. Restart your server. Remember, if your classes are part of a package, your entire package tree should be placed under the classes directory.
Here's a link that should help you get started: http://java.sun.com/webservices/docs/ea1/tutorial/doc/WebApp.html (I found it searching google with ("web application deployment") Regards, Richard Regards, Richard At 10:32 AM 4/25/2002 -0400, you wrote: >I have just begun learning jsp, and everything is still quite confusing. I >am still in the process of learning my environment set-up, what should go in >which directory and so on, so please bear with me. I'm running Tomcat >locally and am trying to run a jsp page that uses a bean that is compiled >from a .java file. The files are MiscSystemProperties.jsp and >MiscSystemProperties.class When I access the file MiscSystemProperties.jsp >file from a browser, I get the following: > >exception 'org.apache.jasper.JasperException: >com.instantjsp.Chapter2.MiscSystemProperties' >and >root cause 'java.lang.ClassNotFoundException: >com.instantjsp.Chapter2.MiscSystemProperties' > >I suspect that this has something to do with my classpath variable and the >placement of my .class file in the wrong directory. >Any suggestions? > >=========================================================================== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >JSP-INTEREST". >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". >Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
