去除 struts2 标签中的自动生成的布局样式
来源:互联网 发布:spring源码怎么看 编辑:程序博客网 时间:2024/05/01 18:36
查看struts.properties或$ {struts-core-2.06.jar}/org/apache/struts2/default.properties文件,其中有如下配置:
struts.ui.theme=xhtml
struts.ui.templateDir=template
struts.ui.templateSuffix=ftl
这一段就是关于struts2模版的配置信息,我们可以修改struts.properties文件,将其改成
struts.ui.theme=simple
struts.ui.templateDir=template
struts.ui.templateSuffix=ftl
如果没有struts.properties文件,可以修改struts.xml文件,在其中加入如下行
<constant name="struts.ui.theme" value="simple" />
<constant name="struts.ui.templateDir" value="template" />
<constant name="struts.ui.templateSuffix" value="ftl" />
转自:http://hi.baidu.com/8_8_8_8_8_8/blog/item/5772ae3d704ad1fe3c6d9713.html
- 去除 struts2 标签中的自动生成的布局样式
- 去除 struts2 标签中的自动生成的布局样式
- 去除 struts2 标签中的自动生成的布局样式
- 去除struts2 标签中的自动生成的布局样式
- 去除 struts2 标签中的自动生成的布局样式table/tr/td
- 去除 struts2 标签中的自动生成的布局样式table/tr/td+ 全选 反选
- struts2 去除 标签样式
- 去除struts2中s:fieldError标签中的默认样式
- struts2的form等表单布局问题,去掉其自动生成的<table><tr><td>标签
- 去除文本中的标签、样式、空白符
- Struts2 自动生成 选择 标签
- struts2标签的样式问题
- 关于Struts2在校验的时候去除表单中的只带的样式
- struts2 标签生成jsp自动增长序号
- struts2中的配置文件的<constant>标签(struts.xml自动加载)
- 如何去除Android布局文件xml中的斜体样式
- 布局标签和样式表的选择器
- 去除JSP页面自动生成的空行
- PHP遍历关联数组的方法介绍
- 关于client profile
- Linux_Shell知多少—常用正则表达式
- SQL2005删除复制数据库的发布与订阅的方法
- .overlay
- 去除 struts2 标签中的自动生成的布局样式
- C/C++ 常量--林锐
- Assemble Language Programming(第九章)
- Something about openssh
- c# FTP的两种实现方法(一)-FtpWebRequest
- error LNK2001: unresolved external symbol _main解决办法
- 页面右下角div提示,显示效果从下往上移动
- Android NDK 程序小记
- spring自动装配