I believe jars for servlets need to go in the
<TOMCAT_ROOT>/webapps/your_app_name/WEB-INF/lib folder.  i.e. to be in your
web application's folder hierarchy.

Also JSSI seems a rather old tool -- could you not use <jsp:include
page="relative URL" flush="true" /> and use JSP instead.

Best Wishes (and I hope your trousers have dried out a bit!)
John Burgess
[EMAIL PROTECTED]
Tel: 01865 718666 
Fax: 01865 718600


-----Original Message-----
From: Elizabeth Barham [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 28, 2002 6:16 AM
To: Tomcat Users List
Subject: ApacheJSSI.jar and Tomcat


Hi,

I download ApacheJSSI.jar from:

http://java.apache.org/jservssi/dist/

And placed it in:

<TOMCAT_ROOT>/server/lib 

I then updated web.xml:

  <servlet>
    <servlet-name>jhtml</servlet-name>
    <servlet-class>org.apache.servlet.ssi.SSI</servlet-class>
    <init-param>
      <param-name>debug</param-name>
      <param-value>yes</param-value>
    </init-param>
    <load-on-startup>4</load-on-startup>
  </servlet>

  <servlet-mapping>
    <servlet-name>jhtml</servlet-name>
    <url-pattern>*.jhtml</url-pattern>
  </servlet-mapping>

Unfortunatly, though, when I startup Tomcat, I get this error in the
log:

java.lang.ClassNotFoundException: org.apache.servlet.ssi.SSI

Although this is in ApacheJSSI.jar residing in the
<TOMCAT_ROOT>/server/lib directory:

2395  06-22-99 19:20   org/apache/servlet/ssi/SSI.class

I have tried renaming ApacheJSSI.jar to servlets-jssi.jar but it still
continues to have the problem. I'm interested in using SSI pages that
have the <servlet> tag - jssi.

Any ideas on how to remedy this are most welcome!

Thank you, Elizabeth

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/02
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/02
 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to