Phil Bartholo wrote:

> I'm developing some JSP's in an ISP environment and am having
> problems using my own java classes from within the JSP's.
>
> The JSP gives a compile time error "Class not found" when
> I try to import any of my own classes.  I have no control
> over what the classpath is for the jsp compiler. (This is
> a shared JSERV installation.)  I've tried putting my classes
> in several places: my appointed servlets directory, the
> same directory as the jsp, the directory where the compiled
> jsp class file gets deposited.  None of these combinations
> work.
>

Even if you are not allowed to modify the class path for your shared JSERV
installation, you need to know what it says in order to know where to put your JSP
files.  In particular, ask your admin for the values he/she used for the following
parameters:

wrapper.classpath -- The Apache JServ system CLASSPATH value

repositories -- The additional classpath for each zone (you need to know the one
for the zone you are using).


>
> Does anyone have any ideas?  Is there any piece of code I
> can use within the JSP to instruct the compiler to look
> at a specific directory for classes?
>
> Thanks,
> Phil
>

Craig

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to