【引用】struts2标签不显示Label的解决方法
2016-06-14 12:04
525 查看
最近发现struts2的标签不管是<s:textfield>还是<s:password>一概不显示label了,连换行都不换了。
查找原因有三种情况:
1、发现原来struts.properties下多了这句话:
struts.ui.theme=simple
2、struts2.xml 中有
<constant name="struts.ui.theme" value="simple" />
3、 jsp页面form标签有属性 theme="simple"如果想不显示Label值 就去掉。
查找原因有三种情况:
1、发现原来struts.properties下多了这句话:
struts.ui.theme=simple
2、struts2.xml 中有
<constant name="struts.ui.theme" value="simple" />
3、 jsp页面form标签有属性 theme="simple"如果想不显示Label值 就去掉。
相关文章推荐
- Spring注解入门
- MyEclipse8.5整合(Struts2+Spring+Hibernate)
- 【引用】Struts2拦截器使用方法
- java 防SQL注入 html编码入侵 特殊字符转义 方法入参检测工具 (Spring)
- 【引用】Java容器类List、ArrayList、Vector及map、HashTable、HashMap分别的区别
- Struts2和Hibernate实现的注册登录模块
- 【引用】Struts2中的链接标签 <s:url>和<s:a>
- Struts2 官方文档使用—Processing Forms
- Struts 官方文档——使用Struts Tags
- JAVA Web开发过程中遇见的各种Exception 总结(待续)
- 认识JMS(JAVA Message Service)
- MapXtreme For Java 4.8.2 超菜入门
- Eclipse+Mapxtreme java开发WebGIS之HelloWorld
- eclipse for JEE 安装 JBPM 插件Link方法教程
- JDK安装与环境变量配置
- JavaCenter Home 2.0 安装说明
- java的声音处理方法
- 引用 Struts中ActionServlet源码深入分析执行过程
- java如何用for循环遍历list集合?
- 引用 Eclipse 常用快捷键