Ching-Hwa Yu wrote:
>
> I think I didn't ask the right question. In the zone properties file I have
> an alias we'll call foo which is declared as
> servlet.foo.code=com.blah.servlets.MyServlet. If I call the foo alias, am I
> required to have the directory structure of
> /usr/local/apache/servlets/com/blah/servlets/MyServlet.class ? The
> repository is declared as /usr/local/apache/servlets. If I call foo right
> now, does it traverse the directories as specified by the alias ?
Think of the "repositories" directive as specifying a per-zone classpath
for the classloader. As long as you put your classes somewhere in this
'classpath' the classloader should be able to find them - thus you are
not REQUIRED to have the directory structure you describe above, however
given this configuration it should work. Can you send your
jserv.properties, zone.properties and log files?
Damian
--
Damian Fauth John Fairfax Holdings Ltd
Software Engineer 201 Sussex Street
Ph: +61 2 9282 3528 Sydney NSW 2000
Fax: +61 2 9282 2256 [EMAIL PROTECTED]
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]