Class files for jsp

From: Harold Ensle (heensle_at_ix.netcom.com)
Date: 12/12/03


Date: Fri, 12 Dec 2003 18:36:59 GMT

I am using Jserv on apache and I cannot instantiate from a class file in
JSP.
I was using servlets before and any class I put in the same directory (or
other directories indicated with a classpath in the Jservproperties file)
would work fine. But JSP files (which are in a different directory) cannot
seem to find my classes no matter where I put them...whether in a classpath
or not. I even put them in the WEB_INF/classes folder and still nothing.
I have searched everywhere for an answer. Does anyone know???

H.Ellis Ensle



Relevant Pages

  • Re: jar, package and import relationship?
    ... Java does too: the CLASSPATH must be correct. ... It's a bit different for anything that comes with the default with Java, because the JVM handles those a bit differently with out environment variables, but for any library or .class file you download or create, you need to tell your tools where to find them. ... public static void main(String ... ...
    (comp.lang.java.programmer)
  • bad class file: D:examplesHello.class
    ... I am just posting this message so that it might be useful for people ... I was trying to compile the java with following code as in Mastering ... illegal start of class file ... as to me the classpath seemed to be perfectly ...
    (comp.lang.java.programmer)
  • Re: Baffling class not found problem
    ... I cannot argue against your assertion that *a* classpath contains the parent directory of cms/, but either *the classpath relevant to the compilation* in question does not contain it, or the directory does not contain the relevant class. ... The previous response I directed you to described specifically how to structure the jar containing the class, ... An alternative, supposing that the directories are correct and the class file is in the right place, might be that access control prevents the compiler from reading the class file. ...
    (comp.lang.java.programmer)
  • Re: If . is in classpath doesnt that pull in classes in the current folder?
    ... But my package is standalone so I assume that means there is no hierarchy here. ... What it does is look in the directory tree of pathnames ... > and had classpath. ... > then it would expect to find the class file in: ...
    (comp.lang.java.help)
  • Re: HTTP 500 Tomcat help
    ... learning Servlets and JSPs from the Head First book. ... I think that that message means that the class file which the classloader has ... but rather the class BeerSelect. ... correct package declaration? ...
    (comp.lang.java.help)