日期:2014-05-16 浏览次数:20738 次
<%@ taglib uri="/struts-dojo-tags" prefix="sd" %>,在<head>中添加
<sd:head parseContent="true"/>
<%@ page language="java" contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib uri="/struts-tags" prefix="s" %> <%@ taglib uri="/struts-dojo-tags" prefix="sd" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> <sd:head parseContent="true"/> </head> <body> <s:form action="login"> <s:label value="登陆"></s:label> <s:textfield name="username" label="用户名"></s:textfield> <s:password name="password" label="密码"></s:password> <s:submit value="登录"></s:submit> </s:form> <sd:datetimepicker label="生日" name="birthday"></sd:datetimepicker> </body> </html>