Hi,
I have followed instructions in install docs as well as archives to no
avail.
I am running Tomcat on Windows 2000, and I want to get the servlet tag
to work.
1. Downloaded the JSSI jar from apache, modifed the startup batch file
to add it to the classpath.
2. to web.xml, I have added the following:
<servlet>
<servlet-name>
ssi
</servlet-name>
<servlet-class>
org.apache.servlet.ssi.SSI
</servlet-class>
<init-param>
<param-name>expires</param-name>
<param-value>-1000</param-value>
</init-param>
<init-param>
<param-name>buffered</param-name>
<param-value>yes</param-value>
</init-param>
<load-on-startup>
-2147483646
</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>
ssi
</servlet-name>
<url-pattern>
*.jhtml
</url-pattern>
</servlet-mapping>
Then I took the index.html that was already there, and renamed it to
index.jhtml. Now, when I do http://192.168.0.69/index.jhtml, I get:
500 Java Server Side Include Error
Could not resolve the given URI /index.jhtml
NOTE: SSI/PageParser cannot work if the requested file is not accessible
by the servlet engine. Please, make sure the
requested file is readable by this servlet and located on the same
machine.
I have checked file access permissions, and they are OK.
According to the docs, SSISiteRoot is not needed for this scenario.
Can anyone out there shed some light ?
Alfonso.
--
------------------------------------o0o-----------------------------------
The Programmer Formerly Known as Alfonso Urdaneta Ph:
561.581.7360
Presideo Fax:
561.581.7377
10315 102nd Terrace
[EMAIL PROTECTED]
Sebastian FL, 32958
http://www.presideo.com
"You can lead a horticulture, but you can't make her think"
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html