Hi
 
The handler line for jhtml is not refering to zone.it's something like this in httpd.conf file
 
AddType text/html .jhtml

AddHandler server-parsed .jhtml

and in jserv.conf i mapped the .jhtml URI to the or.apache.servlet.ssi.SSI servlet as

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

i haven't come across the handler line refering to zone and the ssi-class.

am pretty confident that the output of my servlet is a complete HTML page.

any more suggestions please

Thanks,

Mamta.

----- Original Message -----
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 -----
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.
 

Reply via email to