FCKeditor文本编辑器
来源:互联网 发布:淘宝店铺微淘入口 编辑:程序博客网 时间:2024/04/29 01:31
<%@ 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>