整合ssh时报错,在jsp页面导入struts标签库<%@ taglib uri="/struts-tags" prefix="s" %>,使用<s:debug></s:debug>后报错如下java.io.FileNotFoundException: Template /template/true/debug.ftl not found.
按照报错的信息查看jar包,发现<constant name="struts.ui.theme" value="true"></constant>,所以会报错没有找到Template /template/true/debug.ftl not found.
解决方案:<constant name="struts.ui.theme" value="simple"></constant>。
本文介绍了一个关于整合SSH时遇到的struts标签库错误,具体表现为找不到debug.ftl文件。文章提供了修改struts.ui.theme配置值为'simple'来解决此问题的方法。
485

被折叠的 条评论
为什么被折叠?



