<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:variable name="YourNameSpace" select="'包名'"/>
  <xsl:variable name="YourTableName" select="'表格名称'"/>
  <xsl:variable name="YourTableRemark" select="'表格备注'"/>
  <xsl:variable name="YourClassName" select="'表格类名'"/>
  <xsl:variable name="YourFieldFristKey" select="'主键字段名'"/>
  <xsl:variable name="YourFristKey" select="'主键属性名(主键属性名不同于主键字段名，前者有大小写之分，而后者没有)'"/>
  <xsl:variable name="YourDataTypeFristKey" select="'主键属性的数据类型(目标语言的数据类型如C#的int、string)'"/>
  <xsl:variable name="YourFieldFristTitle" select="'标题字段名(默认以第一个文本字段作为标题列和搜索列)'"/>
  <xsl:variable name="YourAuthor" select="'作者'"/>
  <xsl:variable name="YourCreatDate" select="'创建日期'"/>
  <xsl:variable name="smallcase" select="'abcdefghijklmnopqrstuvwxyz'" />
  <xsl:variable name="uppercase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'" />
  <xsl:template match="/">
    
&lt;%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%&gt;
&lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%&gt;
&lt;%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%&gt;
&lt;%
	String root = request.getContextPath();
	pageContext.setAttribute("root", root);
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + root + "/";
%&gt;
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&gt;
&lt;html&gt;
	&lt;head&gt;
		&lt;base href="&lt;%=basePath%&gt;"&gt;
		&lt;title&gt;&lt;/title&gt;
		&lt;meta http-equiv="pragma" content="no-cache"&gt;
		&lt;meta http-equiv="cache-control" content="no-cache"&gt;
		&lt;meta http-equiv="expires" content="0"&gt;
		&lt;meta http-equiv="keywords" content="keyword1,keyword2,keyword3"&gt;
		&lt;meta http-equiv="description" content="This is my page"&gt;
	&lt;/head&gt;
	&lt;body&gt;
	&lt;form action="${root}/employeesAction!update.action" method="post"&gt;
	&lt;table&gt;
  		&lt;tr&gt;
  			&lt;td&gt;Primary key of employees table.：&lt;/td&gt;
  			&lt;td&gt;&lt;input type="text" id="employees_employeeId" name="employees.employeeId" value="${employees.employeeId}" readonly="readonly" /&gt;&lt;/td&gt;
  		&lt;/tr&gt;
  		&lt;tr&gt;
  			&lt;td&gt;First name of the employee. A not null column.：&lt;/td&gt;
  			&lt;td&gt;&lt;input type="text" id="employees_firstName" name="employees.firstName" value="${employees.firstName}" /&gt;&lt;/td&gt;
  		&lt;/tr&gt;
  		&lt;tr&gt;
  			&lt;td&gt;Last name of the employee. A not null column.：&lt;/td&gt;
  			&lt;td&gt;&lt;input type="text" id="employees_lastName" name="employees.lastName" value="${employees.lastName}" /&gt;&lt;/td&gt;
  		&lt;/tr&gt;
  		&lt;tr&gt;
  			&lt;td&gt;Email id of the employee：&lt;/td&gt;
  			&lt;td&gt;&lt;input type="text" id="employees_email" name="employees.email" value="${employees.email}" /&gt;&lt;/td&gt;
  		&lt;/tr&gt;
  		&lt;tr&gt;
  			&lt;td&gt;Phone number of the employee; includes country code and area code：&lt;/td&gt;
  			&lt;td&gt;&lt;input type="text" id="employees_phoneNumber" name="employees.phoneNumber" value="${employees.phoneNumber}" /&gt;&lt;/td&gt;
  		&lt;/tr&gt;
  		&lt;tr&gt;
  			&lt;td&gt;Date when the employee started on this job. A not null column.：&lt;/td&gt;
  			&lt;td&gt;&lt;input type="text" id="employees_hireDate" name="employees.hireDate" value="&lt;fmt:formatDate value="${employees.hireDate}" pattern="yyyy-MM-dd HH:mm:ss" /&gt;" /&gt;&lt;/td&gt;
  		&lt;/tr&gt;
  		&lt;tr&gt;
  			&lt;td&gt;Monthly salary of the employee. Must be greater
than zero (enforced by constraint emp_salary_min)：&lt;/td&gt;
  			&lt;td&gt;&lt;input type="text" id="employees_salary" name="employees.salary" value="${employees.salary}" /&gt;&lt;/td&gt;
  		&lt;/tr&gt;
  		&lt;tr&gt;
  			&lt;td&gt;Commission percentage of the employee; Only employees in sales
department elgible for commission percentage：&lt;/td&gt;
  			&lt;td&gt;&lt;input type="text" id="employees_commissionPct" name="employees.commissionPct" value="${employees.commissionPct}" /&gt;&lt;/td&gt;
  		&lt;/tr&gt;
	&lt;/table&gt;
	&lt;input type="submit" value="提交" /&gt;
	&lt;/form&gt;
	&lt;/body&gt;
&lt;/html&gt;
</xsl:template>
</xsl:stylesheet>