Tomcat 5 with SSI ... HELP! HELP! HELP!
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   kuu_kaa
Posted On:   Thursday, February 5, 2004 06:01 AM

I'm running Tomcat/5.0.18 WITHOUT apache. It works fine, it can shows .html and .shtml files also.

How can I enable SSI?
I went through the renamejar and uncomment things, but it still doesn't work.

Thanks in advance!

Re: Tomcat 5 with SSI ... HELP! HELP! HELP!

Posted By:   Anonymous  
Posted On:   Monday, February 9, 2004 11:15 AM

Hi,



I have deployed my application using Tomcat 4.1.24 and SSI as below:



- I followed the guide from Tomcat docs to activate SSI service( uncommented SSI servlet and servlet mapping from
TOMCAT_HOME/conf/web.xml and renamed the file TOMCAT_HOME/server/lib/servlets-ssi.renametojar -->.../servlets-ssi.jar).

- I wrote my servlet and declared it as usual in YOU_APP/WEB-INF/web.xml ( servlet and servlet-mapping tags).

- And I went to the shtml file and added below line.

[an error occurred while processing this directive]



For instance my servlet declaration in web.xml was:




SearchPageGenServlet

class>com.vnet.java.sr.web.SearchPageGenServlet

1







SearchPageGenServlet

/search.s




And this is my included part in index.shtml:




[an error occurred while processing this directive]






That's all, I hope that will help.


Regards,


Thang.


tthang@vnetsoftware.com.
About | Sitemap | Contact