<--可以执行的源码-->
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<%
String contextPath = request.getContextPath();
%>
<title>Insert title here</title>
<link rel="stylesheet" type="text/css"
href="<%=contextPath%>/elrte-1.3/css/elrte.full.css" media="screen" charset="utf-8"/>
<link rel="stylesheet" type="text/css"
href="<%=contextPath%>/elrte-1.3/css/smoothness/jquery-ui-1.8.13.custom.css" media="screen" charset="utf-8" />
<%-- <script src="<%=contextPath%>/js/elrte.js"></script> --%>
<script src="<%=contextPath%>/elrte-1.3/js/jquery-1.6.1.min.js"></script>
<script src="<%=contextPath%>/elrte-1.3/js/elrte.full.js"></script>
<script src="<%=contextPath%>/elrte-1.3/js/i18n/elrte.jp.js"></script>
<script>
$().ready(function() {
var opts = {
cssClass : 'el-rte',
lang : 'zh_TW',
width : 640,
height : 200,
toolbar : 'complete',
cssfiles : ['css/elrte-inner.css']
}
$('#editor').elrte(opts);
})
</script>
</head>
<body>
<textarea id="editor" name=""></textarea>
</body>
</html>