I rent space on a commercial Tomcat JSP-Enabled server. I have a JSP page in the directory /usr50/home/mgardne/public_html/jsp/pictures.jsp
I have a Class file in the directory /usr50/home/mgardne/public_html/servlets/ScrapBook.class The ScrapBook class is not part of any package. I would like to import the ScrapBook class into my JSP code so that I can instantiate objects of that type. In the Archives someone stated that you could import a class file by using the actual path like this <%@ page import="/usr50/home/mgardne/public_html/servlets/ScrapBook" %> but when I tried to run that code I got an error. My web host provider generally doesn't let me change class path settings, or put my own classes in the class path, so I was wondering if there was a direct way of telling the JSP engine where my class file is located. --Monte Glenn Gardner =========================================================================== 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
