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

> You can keep your simple .html files in your webroot. It dosen't
> really matter as to from where you call your sevlets. Only make
> sure you have a zone specified and the servlet is under that zone.
> Then you may directly post or get from "/zone-name/servlet".
> The webroot for a normal installation of apache is
> /usr/local/apache/htdocs.


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]

Reply via email to