CKEditor的基本使用
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html" %> <%@ taglib prefix="bean" uri="http://struts.apache.org/tags-bean" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %> <html> <head> <title>注册用户</title> <script type="text/javascript" src="${pageContext.request.contextPath}/jslib/ckeditor/ckeditor.js"></script> </head> <body> <tr> <td>说明</td> <td> <html:textarea property="regUser.note" value="请输入"/> <script type="text/javascript"> CKEDITOR.replace("regUser.note"); </script> </td> </tr>