tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Burgess <J...@riskdecisions.com>
Subject RE: ApacheJSSI.jar and Tomcat
Date Mon, 29 Apr 2002 13:49:16 GMT
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
john@riskdecisions.com
Tel: 01865 718666 
Fax: 01865 718600


-----Original Message-----
From: Elizabeth Barham [mailto:soggytrousers@yahoo.com]
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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

---
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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message