http://jakarta.apache.org/tomcat/faq/classnotfound.html
-Tim
Vamsee Kanakala wrote:
Dear list users,
I have a beginner's problem: I'm trying to get a small app which
retrieves a bunch of records from database (postgres) and prints them. I
set up the datasources, etc, correctly. I have the structure like this:
CATALINA_HOME
|
-- webapps
|
-- movies
|
-- WEB-INF
| |
| | --classes
| | |
| | --MovieDB.class
| | -- web.xml
|
|-- users.jsp
From what I have read in the docs, this structure seems okay, but when
I try to access localhost/movies/users.jsp it gives me an error saying
that class MovieDB is not found.
I didn't give any mapping about MovieDB in web.xml because it's not a
servlet. Do I need to do it anyways? What am I doing wrong? Do I need to
declare about this in server.xml as a <Context> tag?
TIA,
Vamsee.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]