Yes the Hello1.class goes into c:/serv
But the URL is http://domainname/serv/Hello1 <http://domainname/serv/Hello1>

This is the idea
        Jserv loads Jserv.properties that specifies the servlets zones (root
and test for me)
        And their location by root.properties and test.properties,
respectively
        The ApJServMount directive in httpd.conf works as an alias. In other
words if you specify
        ApJServMount /serv /test
        It means that http://domainname/serv/ <http://domainname/serv/>
will be mapped to the <test> zone (not the directory). As you know the test
zone may contain multiple directories,jar ... locations (via
repositories=<dir1>,<dir2>,<jar1>). The point is you could have 10 different
servlets located in 10 different directories, as long as the directories are
all listed in the
repositories directive for that zone (test)  then whenever you go to
http://domainame/serv <http://domainame/serv>  then Jserv will find your
servlets.

GnuJSP is simply a JSP compiler. A JSP page contains java instructions that
are compiled into a servlet an then ran as such. It is cool 'cause you can
call Java Beans directly from the JSP page.

Hope it helps

Nicolas

        ----------
        From:  John Brecht [SMTP:[EMAIL PROTECTED]]
        Sent:  Thursday, February 25, 1999 1:49 PM
        To:  Nicolas Pujol
        Subject:  Re: newbie , win98 question

        Yes the Hello1.class goes into c:/serv
        But the URL is http://domainname/serv/Hello1
<http://domainname/serv/Hello1>
        This is the idea
                Jserv loads Jserv.properties that specifies the servlets
zones (root and test for me)
                And their location by root.properties and test.properties,
respectively
                The ApJServMount directive in httpd.conf works as an alias.
In other words if you specify
                ApJServMount /serv /test
                It means that http://domainname/serv/
<http://domainname/serv/>  will be mapped to the <test> zone (not the
directory). As you know the test zone may contain multiple directoryies,jar
... locations (via repositories=<dir1>,<dir2>,<jar1>). The point is you
could have 10 different servlets located in 10 different directories, as
long as the directories are all listed in the
        repositories directive for that zone (test)  then whenever you go to
http://domainame/serv <http://domainame/serv>  then Jserv will find your
servlets.

        GnuJSP is simply a JSP compiler. A JSP page contains java
instructions that are compiled into a servlet an then ran as such. It is
cool 'cause you can call Java Beans directly from the JSP page.

        Hope it helps

        Thank for the help!
        With the setup you have given, would your Hello1.class file be in
the
        directory: c:/serv
        and would the URL to reach that servlet be:
http://domainname/test/Hello1 <http://domainname/test/Hello1>
        ??

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to