from The Borland Web Container Frequently Asked Questionshttp://info.borland.com/devsupport/bes/faq/webfacilities/web_container.htmlHow do I use Jbuilder created server-side includes with the Borland Web Container? By default, server-side include support is disabled on the Boland Web Container. In order to enable this support you must do the following: Locate the folder '/lib/tomcat/server' Rename the file called 'servlets-ssi.renametojar' to 'servlets-ssi.jar' Now add the following line to '<BES_HOME>/var/servers/<SERVER>/adm/properties/partitions/standard': container.auto.expand.wars=true Files with a .shtml extension should now be served correctly by the web-container.
会有人用 Boland Web Container ??那是什么东东??我是问在 TOMCAT 下使用。
if it has nothing to do with Borland's stuffs, what does this <servlet> tag do in shtml?
和 Borland 有什么关系,<servlet>本来就应该由 JAVA 的 WEB 服务器解释的
it appears that <servlet> is not supported in TOMCAT
我看文档里这么说: 将tomcat目录server/lib目录下的文件servlets-ssi.renametojar改名为servlets-ssi.jar 是啊,这样之后:Files with a .shtml extension should now be served correctly by the web-container. .shtml 文件就可以被容器正确识别和 提供服务了!这个虽然是“Boland Web Container ”的QA,但是我觉得可以参考一下!
The Borland Web Container Frequently Asked Questionshttp://info.borland.com/devsupport/bes/faq/webfacilities/web_container.htmlHow do I use Jbuilder created server-side includes with the Borland Web Container? By default, server-side include support is disabled on the Boland Web Container. In order to enable this support you must do the following:
Locate the folder '/lib/tomcat/server'
Rename the file called 'servlets-ssi.renametojar' to 'servlets-ssi.jar'
Now add the following line to '<BES_HOME>/var/servers/<SERVER>/adm/properties/partitions/standard':
container.auto.expand.wars=true Files with a .shtml extension should now be served correctly by the web-container.
将tomcat目录server/lib目录下的文件servlets-ssi.renametojar改名为servlets-ssi.jar
将tomcat目录server/lib目录下的文件servlets-ssi.renametojar改名为servlets-ssi.jar
是啊,这样之后:Files with a .shtml extension should now be served correctly by the web-container.
.shtml 文件就可以被容器正确识别和 提供服务了!这个虽然是“Boland Web Container ”的QA,但是我觉得可以参考一下!