----------------------------------------------------------------
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!!!
----------------------------------------------------------------
1. You have to configure JSSI in order for you to use <SERVLET> tag. It
will not work with simple html. It is not an html tag.
2. Once you configured JSSI you have to put your jhtml (if you associate
this extension with the JSSI's handler) file in the htdocs directory and
have servlet tag look like following:
<servlet code="ServletName">
<param name="optional_param1" value="value_of_optional_param1">
<param name="optional_param2" value="value_of_optional_param2">
:
:
:
<param name="optional_paramN" value="value_of_optional_paramN">
</servlet>
The ServletName will be found in a servelt zone where your JSSI servelt
sits. When you start configuring JSSI you will see what this means.
Good luck.
Alex.
On Tue, 29 Feb 2000, Michael Lim Shek Sia 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!!!
> ----------------------------------------------------------------
>
> Hi!
>
> Following instructions from Karthik, I have now got Jserv working with
> my apache.
>
> One beginners question: where should I place my .html file which is
> used
> to call a servlet.
>
> <HTML>
> <HEAD><TITLE>Times!</TITLE></HEAD>
> <BODY>
> The current time here is:
>
> <SERVLET CODE=/usr/local/jserv/servlets/CurrentTime>
> </SERVLET>
>
> <P>
> </BODY>
> </HTML>
>
> If the above is my .html file,
>
> 1. where should I put it ?
> 2. I have put my CurrentTime.class file in /usr/local/jserv/servlets/,
> is
> this correct ?
> 3. what should the path to my CODE be ?
>
> thanks & regards
> michael lim
>
>
> --
> --------------------------------------------------------------
> 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]