Hi Ebrel,
Nice to see your answer. It's true, It's working for sub directories.
Definitely there will be confusion between documents.
I am able to set multiple paths for Servlet class files. If I can for
servlet why shouldn't for HTML?
Still there is a confusion between servlets too.
First it search for servlet class from the repositories (left - right)
repositories=C:\JServer1.1b3\servlets,d:\dhans,d:\dhans\myservlet
Where ever I put my servlet it takes from that specified directory if it's
available.
Known :-
Of course ,If it's avail at the first directory itself then it gets from
that location (C:\JServer1.1b3\servlets). I may have the same servlet class
at three places obviously I might have modified too in any one of the
directory which I need right now.
(Leave this problem, at least we know how to set multiple pats for servlets
).
I hope there should be some way to specify HTML also.
Hello friend please give suggestions or work around to solve this problem.
I need to face this situation since the html files may store in different
places according to the user dynamic selections.
Thanks in advance,
Thanasekaran
-----Original Message-----
From: Maximilian Eberl [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 2:59 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem in document root
> I have tried the same but still I couldn't able to set multiple paths for
> documents.
Because multiple paths wouldn't work.
Imagine: You have two document roots like /apache/htdocs and /MyDocuments/
and You type in
www.domainname.com/index.html
Which index.html should the server send ?
/apache/htdocs/index.html or /MyDocuments/index.html
Confusion would be the result.
Therefore every directory has to be a subdirectory of DocumentRoot. So
/apache/htdocs/index.html would be resolved in
www.domainname.com/index.html and
/apache/htdocs/company/index.html would be resolved in
www.domainname.com/company/index.html
What is Your specific need for multiple folders ?
Max
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html