在editExpressPrice.jsp页面中
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/manager/include.jsp"%>
<html><head><meta charset="utf-8">
<title>农产品管理平台</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Charisma, a fully featured, responsive, HTML5, Bootstrap admin template.">
<meta name="author" content="Muhammad Usman">
<!-- The styles -->
<link id="bs-css" href="css/bootstrap-cerulean.min.css" rel="stylesheet">
<link href="css/common.css" rel="stylesheet">
<link href="css/datepicker.css" rel="stylesheet">
<link href="css/charisma-app.css" rel="stylesheet">
<link href='bower_components/fullcalendar/dist/fullcalendar.css' rel='stylesheet'>
<link href='bower_components/fullcalendar/dist/fullcalendar.print.css' rel='stylesheet' media='print'>
<link href='bower_components/chosen/chosen.min.css' rel='stylesheet'>
<link href='bower_components/colorbox/example3/colorbox.css'rel='stylesheet'>
<link href='bower_components/responsive-tables/responsive-tables.css'rel='stylesheet'>
<link href='bower_components/bootstrap-tour/build/css/bootstrap-tour.min.css' rel='stylesheet'>
<link href='css/jquery.noty.css' rel='stylesheet'>
<link href='css/noty_theme_default.css' rel='stylesheet'>
<link href='css/elfinder.min.css' rel='stylesheet'>
<link href='css/elfinder.theme.css' rel='stylesheet'>
<link href='css/jquery.iphone.toggle.css' rel='stylesheet'>
<link href='css/uploadify.css' rel='stylesheet'>
<link href='css/animate.min.css' rel='stylesheet'>
<!-- jQuery -->
<script src="bower_components/jquery/jquery.js"></script>
<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- The fav icon -->
<link rel="shortcut icon" href="img/favicon.ico">
</head>
<body>
<!-- topbar starts -->
<div class="navbar navbar-default" role="navigation">
<div class="navbar-inner">
<button type="button" class="navbar-toggle pull-left animated flip">
<span class="sr-only">Toggle navigation</span> <spanclass="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
<a class="navbar-brand" href="init"> <img alt="Charisma Logo" src="img/logo20.png" class="hidden-xs" /> <span>Charisma</span></a>
<!-- user dropdown starts -->
<jsp:include page="/WEB-INF/jsp/manager/userBar.jsp"></jsp:include>
<!-- user dropdown ends -->
<!-- theme selector starts -->
<div class="btn-group pull-right theme-container animated tada">
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<i class="glyphicon glyphicon-tint"></i><spanclass="hidden-sm hidden-xs"> Change Theme / Skin</span> <span class="caret"></span></button>
<ul class="dropdown-menu" id="themes">
<li><a data-value="classic" href="#"><i class="whitespace"></i>Classic</a></li>
<li><a data-value="cerulean" href="#"><i class="whitespace"></i> Cerulean</a></li>
<li><a data-value="cyborg" href="#"><i class="whitespace"></i> Cyborg</a></li>
<li><a data-value="darkly" href="#"><i class="whitespace"></i> Darkly</a></li>
<li><a data-value="lumen" href="#"><i class="whitespace"></i> Lumen</a></li>
<li><a data-value="slate" href="#"><i class="whitespace"></i> Slate</a></li>
<li><a data-value="spacelab" href="#"><i class="whitespace"></i> Spacelab</a></li>
<li><a data-value="united" href="#"><i class="whitespace"></i> United</a></li></ul>
</div> <!-- theme selector ends -->
</div></div><!-- topbar ends --> <div class="ch-container">
<div class="row"><!-- left menu starts -->
<jsp:include page="/WEB-INF/jsp/manager/menuBar.jsp"></jsp:include>
<!--/span-->
<!-- left menu ends -->
<noscript>
<div class="alert alert-block col-md-12">
<h4 class="alert-heading">Warning!</h4>
<p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript"
target="_blank">JavaScript</a> enabled to use this site.</p> </div></noscript>
<div id="content" class="col-lg-10 col-sm-10">
<!-- content starts -->、<div>
<ul class="breadcrumb"> <li><a href="#">首页</a></li>
<li><a href="#">快递商列表</a></li>
<li><a href="#">修改快递商各地价格</a></li>
</ul> </div>
<div class="row">
<div class="box col-md-12">
<div class="box-inner">
<div class="box-header well" data-original-title=""><h2>
<i class="glyphicon glyphicon-edit"></i> 快递商各地价格信息 </h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round btn-default"><iclass="glyphicon glyphicon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round btn-default"><i class="glyphicon glyphicon-chevron-up"></i></a> <a href="#" class="btn btn-close btn-round btn-default"><iclass="glyphicon glyphicon-remove"></i></a>
</div></div>
<div class="box-content">
<form:form modelAttribute="expressPriceForm" action="editExpressPrice" method="post">
<form:hidden path="expressId" value="${expressPriceForm.expressId}" />
<form:hidden path="expressPriceId" value="${expressPriceForm.expressPriceId}" />
<form:hidden path="provinceId" value="${expressPriceForm.provinceId}" />
<form:hidden path="provinceName" value="${expressPriceForm.provinceName}" />
<div class="alert alert-info">${message}<form:errors path="*"></form:errors></div>
<table class="table table-bordered responsive"><tr>
<td style="background-color: #f9f9f9;">省<span style="color:red;">*</span></td>
<td><div class="controls">
${expressPriceForm.provinceName}</div></td>
<td style="background-color: #f9f9f9;">分隔重量g<span style="color:red;">*</span></td>
<td><form:input path="separateWeight" cssClass="form-control" cssErrorClass="form-control error" value="${expressPriceForm.separateWeight}" /></td>
<!-- <td><input name="separateWeight" class="form-control" value="${expressPriceForm.separateWeight}" /></td> -->
<td style="background-color: #f9f9f9;">首重费(元)<span style="color:red;">*</span></td>
<td><form:input path="firstHeavyPrice" cssClass="form-control" cssErrorClass="form-control error" value="${expressPriceForm.firstHeavyPrice}" /></td>
<!-- <td><input name="firstHeavyPrice" class="form-control" value="${expressPriceForm.firstHeavyPrice}" /></td> --></tr><tr>
<td style="background-color: #f9f9f9;">续重费(元)<span style="color:red;">*</span></td>
<td><form:input path="continuedHeavyPrice" cssClass="form-control" cssErrorClass="form-control error" value="${expressPriceForm.continuedHeavyPrice}" /></td>
<!-- <td><input name="continuedHeavyPrice" class="form-control" value="${expressPriceForm.continuedHeavyPrice}" /></td> -->
<td style="background-color: #f9f9f9;">状态</td><td>
<div class="controls">
<form:select path="status" itemValue="${expressPriceForm.status}">
<form:option value="启用">启用</form:option>
<form:option value="备用">备用</form:option>
</form:select></div>
</td>
<td style="background-color: #f9f9f9;">备注</td>
<td><form:input path="note" class="form-control" value="${expressPriceForm.note}" /></td></tr>
</table><div class="input-group has-success col-md-12" align="right">
<button type="submit" class="btn btn-success">提 交</button>
<a type="button" href="initExpressPrice?expressId=${expressPriceForm.expressId}" class="btn btn-danger">取 消</a></div></form:form>
</div> </div></div><!--/span--></div>
<!--/row--><!-- content ends --> </div>
<!--/#content.col-md-0--></div>
<!--/fluid-row--><!-- Ad, you can remove it -->
<!-- Ad ends --><hr>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog"aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h3>Settings</h3> </div>
<div class="modal-body"><p>Here settings can be configured...</p></div>
<div class="modal-footer"><a href="#" class="btn btn-default" data-dismiss="modal">Close</a>
<a href="#" class="btn btn-primary" data-dismiss="modal">Save changes</a> </div></div> </div> </div>
<footer class="row">
<p class="col-md-9 col-sm-9 col-xs-12 copyright"> © <a href="http://usman.it"target="_blank">Muhammad Usman</a>2012 - 2014</p>
<p class="col-md-3 col-sm-3 col-xs-12 powered-by">Powered by: <a href="http://usman.it/free-responsive-admin-template">Charisma</a></p></footer></div>
</html>