<s:datetimepicker name="model.birthday" toggleType="explode"
value="today" displayFormat="yyyy-MM-dd"
</s:datetimepicker><head></head>中有<s:head theme="ajax"/>
value="today" displayFormat="yyyy-MM-dd"
</s:datetimepicker><head></head>中有<s:head theme="ajax"/>
解决方案 »
- 使用JSP+JavaBean+Servlet完成一个小型的网站
- hibernate的cascade,你们用吗
- 怎么使用Java UI技术实现类似于大智慧证券、港澳证券资讯之类的分析软件?
- hibernate如何做到动态数据源
- 安装eclipse6.0后,运行报错
- spring2.0注入分发action中成员变量为null???
- 如何在使用https协议作为Web Services的传输协议的时候,怎么进行客户端身份验证?
- 各位: 请问找工作时 公司是否看重证书的威力? Java 程序员应该考哪个认证??
- 帮一下我啊,采用JAVA做ERP可以吗,如果可以在实施过程中会有哪些困难呢!
- JB8使用JBoss连Mysql出了鬼
- 用jxl输出一个excel表。。
- 初学Hibernate,坎坷重重
theme应该是simple而不是ajax<%@ taglib uri="/struts-tags" prefix="s" %><html>
<head>
<s:head />
</head>
<body>
<s:form theme="simple">
<s:datetimepicker name="model.birthday" toggleType="explode"
value="today" displayFormat="yyyy-MM-dd"
</s:datetimepicker>
</s:form>
</body>
</html>
<head>
<s:head />
</head>
<body>
<s:form id="associate_add_do_Form" name="associate_add_do_Form"
theme="simple" action="associateAddAction.action" method="post"
validate="true">
<tr><td>
<s:datetimepicker name="model.birthday" toggleType="explode"
value="today" displayFormat="yyyy-MM-dd" theme="simple">
</s:datetimepicker>
</td></tr>
</s:form>
</body>
</html>是这么写的,请问还有没有其他原因?
如果不能正确显示,可能是web.xml少写些东西是不是把struts-cleanup漏了<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter>
<filter-name>struts-cleanup</filter-name>
<filter-class>org.apache.struts2.dispatcher.ActionContextCleanUp</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>struts-cleanup</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>
<filter-name>struts-cleanup</filter-name>
<filter-class>org.apache.struts2.dispatcher.ActionContextCleanUp</filter-class>
</filter>
<filter-mapping>
<filter-name>struts-cleanup</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping> <filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>