----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Hi,
Running Apache 1.3.12, Apache JServ 1.1.2 on NT.
I'm currently using the zone.properties file for
passing in a init parameter to my servlet. I noticed
some peculiar behavior if I have a trailing backslash.
The following gives me a null value in the servlet:
servlet.MyServlet.initArgs=config_path=C:\\
However, if I omit the trailing backslash, so that
it's
servlet.MyServlet.initArgs=config_path=C:
the servlet gets the value correctly. I've tried a
variety of paths, both with trailing slashes and
without, and the ones without trailing slashes always
are fine, whereas the ones with trailing slashes
always are null.
Any insight into what's wrong?
Thanks!
jane
__________________________________________________
Do You Yahoo!?
>From homework help to love advice, Yahoo! Experts has your answer.
http://experts.yahoo.com/
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]