<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'b.jsp' starting page</title>
</head>
<body>
<%
String u=request.getParameter("u");
String p=request.getParameter("p");
out.print(u);
out.print(p);
%>
</body>
</html>
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'f.jsp' starting page</title>
<script type="text/javascript" src="fckeditor/fckeditor.js"></script>
</head>
<body>
<form action="b.jsp"" method="post">
<input type="text" name="u">
<script type="text/javascript">
var oFCKeditor = new FCKeditor( 'p' );
oFCKeditor.BasePath='fckeditor/';
oFCKeditor.Create() ;
</script>
<input type="submit" value="ok">
</form>
</body>
</html>
FCKeditor文本编辑器
点赞
收藏