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

What you are showing is jserv.properties file which
does not help. There is a jserv.conf (if you are running 1.1) which
configures mod_jserv and has following lines:

# Mount point for Servlet zones
# (see documentation for more information on servlet zones)
# Syntax: ApJServMount [name] [jserv-url]
# Default: NONE
# Note: [name] is the name of the Apache URI path to mount jserv-url on
#       [jserv-url] is something like "protocol://host:port/zone"
#  If protocol, host or port are not specified, the values from
#  "ApJServDefaultProtocol", "ApJServDefaultHost" or "ApJServDefaultPort"
#  will be used.
#  If zone is not specified, the zone name will be the first subdirectory
of
#  the called servlet.
# Example: "ApJServMount /servlets /myServlets"
#  if user requests "http://host/servlets/TestServlet"
#  the servlet "TestServlet" in zone "myServlets" on default host
#  thru default protocol on defaul port will be requested
# Example: "ApJServMount /servlets ajpv12://localhost:8007"
#  if user requests "http://host/servlets/myServlets/TestServlet"
#  the servlet "TestServlet" in zone "myServlets" will be requested
# Example: "ApJServMount /servlets
ajpv12://jserv.mydomain.com:15643/myServlets"
#  if user requests "http://host/servlets/TestServlet" the servlet
#  "TestServlet" in zone "myServlets" on host "jserv.mydomain.com" using
#  "ajpv12" protocol on port "15643" will be executed
ApJServMount /servlets /root

What this means is that the root zone mounted onto the /servlets path,
which means that in the ACTION you should specify 
/servlets/YouServeltToRun
to execute your servlet on submit request.



On Tue, 29 Feb 2000, Karthik wrote:

> ----------------------------------------------------------------
> 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 am having the same problem as Micheal ! :(
> 
> PLEASE HELP !!!
> 
> Michael Lim Shek Sia wrote:
> 
> > thanks again.  I did not touch the default settings that comes
> > with the installation.  I believe there is one zone (root) defined in
> > jserv.properties, as follows:
> >
> > #
> > # Servlet Zones parameters
> > ###########################
> >
> > # List of servlet zones Apache JServ manages
> > # Syntax: zones=[servlet zone],[servlet zone]... (Comma separated list
> > of String)
> > # Default: NONE
> > zones=root
> >
> > # Configuration file for each servlet zone (one per servlet zone)
> > # Syntax: [servlet zone name as on the zones list].properties=[full path
> > to configFile] (String)
> > # Default: NONE
> > # Note: if the file could not be opened, try using absolute paths.
> > root.properties=/usr/local/jserv/etc/zone.properties
> >
> > also, in zone.properties it points to:
> >
> > repositories=/usr/local/jserv/servlets
> >
> > So, in theory I should have my .html in /usr/local/apache/htdocs
> > and it should read :
> >
> > <HTML>
> > <HEAD>
> > <TITLE>Introductions</TITLE>
> > </HEAD>
> > <BODY>
> > <FORM ACTION="/root/HelloName" method=GET>
> > what is your name ?
> > <INPUT TYPE=TEXT NAME="name"><P>
> > <INPUT TYPE=SUBMIT>
> > </FORM>
> > </BODY>
> > </HTML>
> >
> > my HelloName.class file is in /usr/local/jserv/servlets
> >
> > and it should work.  This is what I get when I try to GET
> > from the .html file.
> >
> > ================================================
> > Not Found
> >
> > The requested URL /root/HelloName was not found on this server.
> > ========================================================
> >
> > what have I done wrong ?
> >
> > michael
> >
> > --
> > --------------------------------------------------------------
> > 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]
> 
> 
> 
> --
> --------------------------------------------------------------
> 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]
> 
> 



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