----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Hello Michael,
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.
Hope this helps,
--
Karthik K
Hewlett Packard India Software Operations,
1, Habibullah Road, T.Nagar,
Chennai, INDIA
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!!!
> ----------------------------------------------------------------
>
> thanks Alex,
>
> I shall try that.
>
> What about the simple .html files, which just do normal
> POST and GET type of operations (as below), what should I do ?
>
> michael lim
>
> <HTML>
> <HEAD>
> <TITLE>Introductions</TITLE>
> </HEAD>
> <BODY>
> <FORM ACTION="../servlet/HelloName" method=GET>
> what is your name ?
> <INPUT TYPE=TEXT NAME="name"><P>
> <INPUT TYPE=SUBMIT>
> </FORM>
> </BODY>
> </HTML>
>
>
> > 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.
> >
>
> --
> --------------------------------------------------------------
> 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]