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

Sub:            Could not get Server Side Include Running

Reference:Java Servlet Programming by Jason Hunter
          Chapter 2;Example 2.4(CurrentTime)
Reg platform etc:
OS      :Windows 98
java related : jdk1.2/jsdk2.0
WebServer:Apache 1.3.9
Jserv   :Apache J Serv 1.1

For Server Side Includes:
ApacheJSSI1.1.2

Matter:
I could not get the CurrentTime output as shown in Figure
No:2-8.I got the o/phe following way:
The current time here is :
The current time in London is :
And the current time in New York is :

I could not get the actual time  as required .

Pl lend me a hand in specifying new file types(.jhtml) especially the
action field in
windows.

Can someone help me out pl.Similarly other SSI programs
are also not working.
Attaching below the significant part of config file for JSSI.

-------------------------------------------------------------------------
Apache J Serv Config file(to the required extent):

ApJServMount /servlets /root
ApJServMount /servlet /root

# Whether <VirtualHost> inherits base host mount points or not
# Syntax: ApJServMountCopy [on/off]
# Default: "On"
# Note: This directive is meaninful only when virtual hosts are being
used
ApJServMountCopy on

# Executes a servlet passing filename with proper extension in PATH_TRANSLATED

# property of servlet request.
# Syntax: ApJServAction [extension] [servlet-uri]
# Defaults: NONE
# Notes: This is used for external tools.
#ApJServAction .jsp /servlets/org.gjt.jsp.JSPServlet
#ApJServAction .gsp /servlets/com.bitmechanic.gsp.GspServlet

ApJServAction .jhtml /servlets/org.apache.servlet.ssi.SSI

---------------------------------------------------------------------------
Apache JServ Zone file:
**Rem:currently I am working on the default zone created while installing
 the
apacheJServ1.1

# List of Repositories
#######################

# The list of servlet repositories controlled by this servlet zone
# Syntax: repositories=[repository],[repository]...
# Default: NONE
# Note: The classes you want to be reloaded upon modification should
be put
#       here.

repositories=C:\Program Files\Apache JServ 1.1\servlets,C:\Jsdk2.0\examples,C:\Program
Files\Apache_Jssi\src\java\ApacheJSSI.jar





Thanks,
RaviKumar Sarma








-- 
RAVIKUMAR CHENGALVALA
[EMAIL PROTECTED] - email
(858) 860-6400 x7011 - voicemail/fax



__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com



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