为什么我的MyEcilpse使用Struts2配置文件中的constant标签总是出错

来源:互联网 发布:数据应用 编辑:程序博客网 时间:2024/05/01 21:07
例如以下这些标签<constant name="struts.ui.theme" value="simple" />    <constant name="struts.ui.templateDir" value="template" />    <constant name="struts.ui.templateSuffix" value="ftl" />     <constant name="struts.devMode" value="true" />有哪位大侠知道吗我的版本为struts-2.2.3.1最新的版本。。。网上说以前的版本会出现这种错误是因为tomact放置的目录下有空格,我的没有。。。到底是怎么回事啊?很纠结。。。。。
   
    哪位大侠看到了帮帮忙啊,很感谢~~~~~~~~~谢谢了啊,纠结
   我需要使用这些标签
解决:自己初学struts犯了个很2的错误
       <constant name="struts.ui.theme" value="simple" /><constant name="struts.ui.templateDir" value="template" /><constant name="struts.ui.templateSuffix" value="ftl" /> <constant name="struts.devMode" value="true" />
 放在<package name="StructsCNC" extends="struts-default">这句话上面
很无语了