资源简介
二手商品交易网站是一个服务于在校学生的C2C的交易网站,通过本网站用户可自由出售和购买商品,为广大学生提供了平等互利、方便快捷的交易空间。系统的主要功能包括:会员管理、类别管理、用户注册、商品发布、商品审核。
本系统前台主要使用JSP作为开发语言,后台使用MySQL作为数据库管理系统,开发环境是MyEclipse,服务器采用tomcat,开发出的一个基于Web技术的B/S结构的二手电子产品交易系统。

代码片段和文件信息
“““
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 Frederico Caldeira Knabben
== BEGIN LICENSE ==
Licensed under the terms of any of the following licenses at your
choice:
- GNU General Public License Version 2 or later (the “GPL“)
http://www.gnu.org/licenses/gpl.html
- GNU Lesser General Public License Version 2.1 or later (the “LGPL“)
http://www.gnu.org/licenses/lgpl.html
- Mozilla Public License Version 1.1 or later (the “MPL“)
http://www.mozilla.org/MPL/MPL-1.1.html
== END LICENSE ==
This is the integration file for Python.
“““
import cgi
import os
import re
import string
def escape(text replace=string.replace):
“““Converts the special characters ‘<‘ ‘>‘ and ‘&‘.
RFC 1866 specifies that these characters be represented
in HTML as < > and & respectively. In Python
1.5 we use the new string.replace() function for speed.
“““
text = replace(text ‘&‘ ‘&‘) # must be done 1st
text = replace(text ‘<‘ ‘<‘)
text = replace(text ‘>‘ ‘>‘)
text = replace(text ‘“‘ ‘"‘)
text = replace(text “‘“ ‘‘‘)
return text
# The FCKeditor class
class FCKeditor(object):
def __init__(self instanceName):
self.InstanceName = instanceName
self.basePath = ‘/fckeditor/‘
self.Width = ‘100%‘
self.Height = ‘200‘
self.ToolbarSet = ‘Default‘
self.Value = ‘‘;
self.Config = {}
def Create(self):
return self.CreateHtml()
def CreateHtml(self):
HtmlValue = escape(self.Value)
Html = ““
if (self.IsCompatible()):
File = “fckeditor.html“
link = “%seditor/%s?InstanceName=%s“ % (
self.basePath
File
self.InstanceName
)
if (self.ToolbarSet is not None):
link += “&Toolbar=%s“ % self.ToolbarSet
# Render the linked hidden field
Html += “yle=\“display:none\“ />“ % (
self.InstanceName
self.InstanceName
HtmlValue
)
# Render the configurations hidden field
Html += “yle=\“display:none\“ />“ % (
self.InstanceName
self.GetConfigFieldString()
)
# Render the editor iframe
Html += “rame id=\“%s\__frame\“ src=\“%s\“ width=\“%s\“ height=\“%s\“ frameborder=\“0\“ scrolling=\“no\“> rame>“ % (
self.InstanceName
link
self.Width
self.Height
)
else:
if (self.Width.find(“%%“) < 0):
WidthCSS = “%spx“ % self.Width
else:
WidthCSS = self.Width
if (self.Height.find(“%%“) < 0):
HeightCSS = “%spx“ % self.Height
else:
HeightCSS = self.Height
Html += ““ % (
self.InstanceName
WidthCSS
HeightCSS
HtmlValue
)
return Html
def IsCom
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-05-10 20:41 校园二手物品交易网\
目录 0 2017-07-13 18:42 校园二手物品交易网\录像\
文件 3021032 2015-04-26 09:43 校园二手物品交易网\录像\jsp277校园二手物品交易网演示.zip
目录 0 2017-07-13 18:42 校园二手物品交易网\数据库\
文件 10339 2014-04-17 20:38 校园二手物品交易网\数据库\db_c2c.sql
目录 0 2017-07-13 18:42 校园二手物品交易网\程序\
文件 5186 2011-03-19 02:43 校园二手物品交易网\程序\.classpath
目录 0 2017-07-13 18:43 校园二手物品交易网\程序\.myeclipse\
文件 529 2011-03-19 03:51 校园二手物品交易网\程序\.myhibernatedata
文件 291 2015-05-13 12:09 校园二手物品交易网\程序\.myme
文件 1693 2015-05-13 12:09 校园二手物品交易网\程序\.project
目录 0 2017-07-13 18:42 校园二手物品交易网\程序\.settings\
文件 191 2012-03-27 16:45 校园二手物品交易网\程序\.settings\org.eclipse.core.resources.prefs
文件 330 2010-07-16 17:19 校园二手物品交易网\程序\.settings\org.eclipse.jdt.core.prefs
文件 273 2011-03-04 16:54 校园二手物品交易网\程序\.springBeans
文件 363 2012-03-21 17:35 校园二手物品交易网\程序\.tomcatplugin
文件 21 2012-03-22 09:57 校园二手物品交易网\程序\readme.txt
目录 0 2017-07-13 18:43 校园二手物品交易网\程序\src\
目录 0 2017-07-13 18:42 校园二手物品交易网\程序\WebRoot\
目录 0 2017-07-13 18:42 校园二手物品交易网\程序\WebRoot\common\
文件 872 2011-03-26 16:48 校园二手物品交易网\程序\WebRoot\common\add_success.jsp
文件 817 2010-01-27 10:25 校园二手物品交易网\程序\WebRoot\common\del_success.jsp
文件 794 2011-03-28 00:24 校园二手物品交易网\程序\WebRoot\common\msg.jsp
文件 731 2009-05-12 16:32 校园二手物品交易网\程序\WebRoot\common\succeed.jsp
文件 805 2011-03-28 00:23 校园二手物品交易网\程序\WebRoot\common\update_success.jsp
文件 3769 2011-03-28 00:35 校园二手物品交易网\程序\WebRoot\common\userinfo.jsp
文件 2780 2012-03-25 20:11 校园二手物品交易网\程序\WebRoot\common\view_userinfo.jsp
目录 0 2017-07-13 18:42 校园二手物品交易网\程序\WebRoot\css\
文件 5008 2010-10-05 21:26 校园二手物品交易网\程序\WebRoot\css\ba
文件 91968 2011-03-19 05:07 校园二手物品交易网\程序\WebRoot\css\Common.css
文件 795 2010-10-15 09:52 校园二手物品交易网\程序\WebRoot\css\dtree.css
............此处省略1027个文件信息
相关资源
- java 毕业设计 进销存管理系统 源码
- 基于java的在线考试系统-毕业设计
- 微博系统(Java源码,servlet+jsp),适
- JSP企业人事管理系统设计(源代码+论
- 实现一个图书管理系统
- JAVA JSP公司财务管理系统 源代码 论文
- JSP+MYSQL旅行社管理信息系统
- 基于Java的酒店管理系统源码(毕业设
- android毕业设计
- JSP,SQL,MVC的选课系统
- 基于JSP的学生宿舍管理系统(源码 数
- JSP选课管理系统
- mysql jsp网站源码下载
- JSP做的化妆品商城
- Jsp购物车实例
- 基于JSP的校友信息管理系统(添加数
- 基于jsp的bbs论坛 非常详细
- jsp oracle通讯录
- JSP学生信息管理系统 Mysql数据库
- 使用jsp servlet做的投票系统
- JSP登陆验证 实现JSP用户名 密码 验
- jsp基于servlet 图书馆管理系统
- jsp学生成绩管理系统.rar
- 在线考试系统源代码(jsp)
- 超级好的纯jsp写的聊天室
- JSP 网上购物网页项目
- JSP+mysql新闻发布系统.rar
- jsp 学生信息管理系统设计与实现
- jsp与SQL Server数据库实现的客户注册登
- 简易教学管理系统(jsp spring struts h
评论
共有 条评论