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


----- Original Message ----- 
From: sachin chandrakar <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
Sent: Thursday, October 21, 1999 11:48 AM
Subject: how to specify mount


> At present I have only one mount as
> /servlets  /servlets
> All my applications are now in package called 
> serv in servlets directory and to invoke the servlets i have to use the 
> following url
> http://localhost/servlets/serv.Hello
> 
> What configuration change I have to do
> so that I can use the following url 
> http://localhost/servlet/Hello
> 
> to access the Servlet Hello in package serv.
You should define servlet zone mapping as:
/servlet  /servlets
The first is the mapping path, the second the servlet zone.
Then you should (in zone properties file) define alias for the servlet:
servlet.Hello.code=serv.Hello

sincerely Olek




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