-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Paul,

I think that you are just confused about how class loading works. (It is
quite complicated and even I still do not totally understand it).

But, let me try to help you by saying that it does in fact work for me to
have ALL of my classes in various packages within just my repositories=
configuration directory.

What I have is this:

repositories=/usr/local/servlets

In there, I have the following directories/packages/files:

Dash.class
com.working-dogs.dash
com.working-dogs.village
org.apache.java.util
org.apache.ecs

Everything works just fine. Dash.class happens to be my only servlet and I
put it at the top because I'm lazy to put it into com.working-dogs.dash
because I'm lazy to setup aliases or type URL's like this:

http://www.working-dogs.com/servlets/com.working-dogs.dash.Dash

Instead, my url looks like this:

http://www.working-dogs.com/servlets/Dash

The Dash servlet is able to find the ECS, Village and other code just fine.

-jon


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to