----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I'm working on an Win NT 4.0 Terminal Server Edition with Apache 1.3.12
and Apache JServ 1.1.1 and JDK 1.1.6.

I have a problem using wildcards when specifying repositories for a
servlet zone.

The repository for a servlet zone is read in the init-method of
JServServletManager by creating a vector of Files. This vector is then
used to create an instance of the AdaptiveClassLoader class. It's there
where the new SimpleFileFilter class is used to load the classes for the

servlet zone.
In the fileOrFiles-method of SimpleFileFilter the method getName() of
the File passed as parameter is used as way to determine whether it
starts with an '*' or not. But when this file was created in the
JServServletManager with a wildcard in the pathname, it just creates a
File instance for one file that meets the wildcard. This means that by
the time we get in SimpleFileFilter the '*' is already gone.

Is there a solution or workaround for this beheavour ?

Thanks.

Luc.

--
Bartholomeeussen Luc
mailto:[EMAIL PROTECTED]
Software Engineer

GET Technology
Time & Security Management Systems
Highway Emergency Call Systems
Antwerpsesteenweg 107, B-2390 Oostmalle
Tel : +32(0)3/312.92.30  Fax : +32(0)3/311.72.90

Thank you for visiting our website : http://www.get.be




--
--------------------------------------------------------------
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