2. ONLY IF you are using other than the default zone for your host:
You
are refering to the "servlets"-zone when stating:
"ApJServAction .jhtml
/servlets/org.apache.servlet.ssi.SSI "
Is this class available in the
repository for the "SERVLETS"-zone?
Hi
Mamatha,
I've not been following this thread, but
is your class file myservlet.class? or is part of a package ie
com.something.myservlet etc?
Also make sure you have jserv logging set
to "debug" and then look in your jserv.log and see if
org.apache.servlet.ssi.SSI is ever invoked. if not that indicates clearly
that this is an invocation error rather than zone/servlet
error.
hth
Chris
--Original Message Text---
From: Mamatha
Katamneni
Date: Mon,
15 Jan 2001 10:42:15 -0800
Hi
So your zone is called
"servlets" ?
yes,the zone
is called "servlets".
my .jhtml is like this
<html>
<body>
<servlet code="myservlet">
if u r seeing this text it means the web
server doesn't support servlet tag
</servlet>
</body>
</html>
if i view the page source am viewing lines
exactly the same as the .jhtml file and in the browser am seeing the text
out put i wrote between the <servlet> and </servlet> tags i.e
"if u r seeing this text....."
and am not finding any error messages in
the log files of both jserv and apache.
i don't what exactly is the problem.does apache
support server side includes?
thanks for showing interest in solving my problem,
Thanks,
Mamta.
----- Original Message -----
From: Ola Samuelson
To: Java
Apache Users
Sent: Sunday, January 14, 2001 3:27
AM
Subject: Re: SSI problems
Hi!
ApJServAction .jhtml
/servlets/org.apache.servlet.ssi.SSI
i haven't come across the
handler line refering to zone and the ssi-class.
Sorry - I meant ACTION
not handler.
So your zone is called "servlets"
?
am pretty confident
that the output of my servlet is a complete HTML page.
Viewing the page
source from the <servlet>-call via the webserver: anything strange
there?
I wasn't around when
the thread started - anything in your logs?
Not only the jserv-logs but
also default apache error-log.
//OLAS
any more suggestions
please
Thanks,
Mamta. ----- Original
Message -----
From: Ola Samuelson
To: Java
Apache Users
Sent: Friday, January 12, 2001 11:05
AM
Subject: Re: SSI problems
How about these ones
........
1. Your handler line for jhtml does not refer to the zone and the
ssi-class? or it referes to default zones /servlet/ or
/root/
2. Your output is the complete page - not the complementary output
which leads to
unparseable HTML?
//OLAS
Mamatha Katamneni
wrote: Hi Jay,
I did all the 3
configurations which you mentioned,and my servlets are
running absolutely
fine,and am updating database also.am using the default servlet zone
itself.
i got structed when i was calling a servlet from a .jhtml
file.
the server is not recognizing the
<servlet>tag
Thanks,
Mamta. ----- Original Message
-----
From: Burgess, Jay
To: 'Java Apache
Users'
Sent: Thursday, January 11, 2001 11:38
AM
Subject: RE: SSI problems
Here are some other relevant
config params to check:
(1) In
"jserv.conf":
ApJServMount /servlet
/your_zone
(2) In
"jserv.properties":
zones=your_zone
your_zone.properties=c:/some/path/your_zone.properties
(3) Do you have the
JAR containing your servlet defined in a "repositories" line in
"your_zone.properties"?
Finally, check the log
files (error.log, mod_jserv.log, jserv.log) to make sure that the various
pieces are all starting up correctly. If they are, then the logs should tell
you where in the chain the request is failing.
Jay
-----Original
Message-----
From: Mamatha Katamneni [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
January 11, 2001 1:08 PM
To:
[EMAIL PROTECTED]
Subject:
----------------------------------------------------------------
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,
am struggling from the past two days with Server
Side Includes.
here is my
configuration.
Jsdk2.0
Apache
1.3.14
ApacheJSSI-1.1.1
ApacheJserv1.1.2(running in manual mode)
WinNT4.0
MySQL database
i wrote a .jhtml
file in which am trying to get servlet output.but
the
server is not reconizing the <SERVLET>
tag.
i made some changes in configuration files
also
in jserv.conf i
uncommented the ApJservAction line and in
zone.properties
file i added the ApachJSSI.jar to the
repository.
i also added
wrapper.classpath=C:\ApacheJSSI-1.1.1\src\java\ApacheJSSI.jar
in
jserv.properties file.
but the server is
not recognizing the servlet tag.Is there any thing
else
that am missing.
could someone
please help me in solving my problem.
am attaching my configuration
files and the .jhtml file.
my servlet class is running if
i run it in browser as
http://localhost/servlet/myservlet.
do i have to make
any more changes.
Thanks,
Mamta.