基于javaweb+JSP+Servlet网上订餐在线点餐系统(前台、后台)
开发工具:eclipse/idea/myeclipse/sts等均可配置运行
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2115">#2115a>] Fixed
JavaScript (permission denied) error in Firefox when file has been uploaded.li>
ul>
<h3>
Version 2.6h3>
<p>
No changes. The stabilization of the 2.6 RC was completed successfully, as expected.p>
<h3>
Version 2.6 RCh3>
<p>
New Features and Improvements:p>
<ul>
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2017">#2017a>] The FCKeditorAPI.Instances
object can now be used to access all FCKeditor instances available in the page.li>
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1980">#1980a>] <span
style="color: #ff0000">Attention:span> By default, the editor now produces <strong>
and <em> instead of <b> and <i>.li>
* 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 ==
*
* Main page that holds the editor.
LoadScript( '_source/commandclasses/fckpasteplaintextcommand.js' ) ;
LoadScript( '_source/commandclasses/fckpastewordcommand.js' ) ;
LoadScript( '_source/commandclasses/fcktablecommand.js' ) ;
LoadScript( '_source/commandclasses/fckfitwindow.js' ) ;
LoadScript( '_source/commandclasses/fcklistcommands.js' ) ;
LoadScript( '_source/commandclasses/fckjustifycommands.js' ) ;
LoadScript( '_source/commandclasses/fckindentcommands.js' ) ;
LoadScript( '_source/commandclasses/fckblockquotecommand.js' ) ;
LoadScript( '_source/commandclasses/fckcorestylecommand.js' ) ;
LoadScript( '_source/commandclasses/fckremoveformatcommand.js' ) ;
LoadScript( '_source/internals/fckcommands.js' ) ;
LoadScript( '_source/classes/fckpanel.js' ) ;
LoadScript( '_source/classes/fckicon.js' ) ;
LoadScript( '_source/classes/fcktoolbarbuttonui.js' ) ;
LoadScript( '_source/classes/fcktoolbarbutton.js' ) ;
LoadScript( '_source/classes/fckspecialcombo.js' ) ;
LoadScript( '_source/classes/fcktoolbarspecialcombo.js' ) ;
liuyan.setLiuyanshi(rs.getString("liuyanshi"));
liuyan.setUser_id(rs.getString("user_id"));
liuyan.setHuifu(rs.getString("huifu"));
liuyan.setHuifushi(rs.getString("huifushi"));
liuyanList.add(liuyan);
}
rs.close();
}
catch(Exception e)
{
e.printStackTrace();
}
mydb.closed();
req.setAttribute("liuyanList", liuyanList);
req.getRequestDispatcher("admin/liuyan/liuyanMana.jsp").forward(req, res);
}
public void liuyanDel(HttpServletRequest req,HttpServletResponse res)
{
String sql="delete from t_liuyan where id="+Integer.parseInt(req.getParameter("id"));
Object[] params={};
DB mydb=new DB();
mydb.doPstm(sql, params);
mydb.closed();
// If this is the only dialog on screen, enable the background cover.
if ( FCKBrowserInfo.IsIE && !FCKBrowserInfo.IsIE7 )
{
var blockerFrame = FCKDialog.GetCover().firstChild ;
if ( blockerFrame.readyState == 'complete' )
DragAndDrop.RegisterHandlers( blockerFrame.contentWindow ) ;
else
blockerFrame.onreadystatechange = onReadyRegister;
}
// Add Enter/Esc hotkeys and disable context menu for the dialog.
setOnKeyDown( document ) ;
disableContextMenu( document ) ;
} ;
<input type="text" name="shichangjia" value="${requestScope.goods.shichangjia }" style="width: 250px;" onpropertychange="onchange1(this.value)" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"/>
td>
tr>
<tr align='center' bgcolor="#FFFFFF" height="22">
<td width="25%" bgcolor="#FFFFFF" align="right">
td>
<td width="75%" bgcolor="#FFFFFF" align="left">
<input type="hidden" name="id" value="${requestScope.goods.id }"/>
<input type="submit" value="提交" onclick="return check()"/>
<input type="reset" value="重置"/>
td>
e.printStackTrace();
}
}
}
<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%
String path = request.getContextPath();
%>
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="expires" content="0"/>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
<meta http-equiv="description" content="This is my page"/>
}
catch (IOException e)
{
e.printStackTrace();
}
}
public void init(ServletConfig config) throws ServletException
{
super.init(config);//调用父类init()方法
}
public void destroy()
{
}
}
not providing a CTRL + ALT combination in the default configuration file because
it may be incompatible with some keyboard layouts. So, the CTRL + ALT + S combination
has been changed to CTRL + SHIFT + S.li>
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/129">#129a>] In IE,
it was not possible to paste if "Allow paste operation via script" was disabled
in the browser security settings.li>
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/112">#112a>] The enter
key now behaves correctly on lists with Firefox, when the EnterMode is set to 'br'.li>
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/152">#152a>] Invalid
self-closing tags are now being fixed before loading. li>
<li>A few tags were being ignored to the check for required contents (not getting stripped
out, as expected). Fixed.li>
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/202">#202a>] The HR
tag will not anymore break the contents loaded in the editor.li>
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/211">#211a>] Some invalid
inputs, like "<p>" where making the caret disappear in Firefox.li>
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/99">#99a>] The <div>
element is now considered a block container if EnterMode=p|br. It acts like a simple
block only if EnterMode=div.li>
<li>Hidden fields will now show up as an icon in IE, instead of a normal text field.
They are also selectable and draggable, in all browsers.li>
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/213">#213a>] Styles
are now preserved when hitting enter at the end of a paragraph.li>
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/77">#77a>] If ShiftEnterMode
is set to a block tag (p or div), the desired block creation in now enforced, instead
of copying the current block (which is still the behavior of the simple enter).li>
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/209">#209a>] Links and
BUG-1018743a>] The problem with Gecko when collapsing the toolbar while in source
mode has been fixed. li>
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1065268&group_id=75348">SF
BUG-1065268a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1034354&group_id=75348&atid=543653">SF
BUG-1034354a>] The XHTML processor now doesn’t use the minimized tag
syntax (like <br/>) for empty elements that are not marked as EMPTY in the
W3C XHTML DTD specifications. li>
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1029654&group_id=75348&atid=543653">SF
BUG-1029654a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1046500&group_id=75348&atid=543653">SF
BUG-1046500a>] Due to a bug on Gecko there was a problem when creating links.
It has been fixed. li>
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1065973&group_id=75348&atid=543653">SF
BUG-1065973a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=999792&group_id=75348&atid=543653">SF
BUG-999792a>] The editor now handles relative URLs in IE. In effect IE transform
all relative URLs to absolute links, pointing to the site the editor is running.
So now the editor removes the protocol and host part of the link if it matches the
running server. li>
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1071824&group_id=75348&atid=543653">SF
BUG-1071824a>] The color dialog box bug has been fixed. li>
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1052856&group_id=75348&atid=543653">SF
BUG-1052856a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1046493&group_id=75348&atid=543653">SF
BUG-1046493a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1023530&group_id=75348&atid=543653">SF
BUG-1023530a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1025978&group_id=75348&atid=543653">SF
catch(Exception e)
{
e.printStackTrace();
}
mydb.closed();
return goods;
}
public static List goodsNew()
//得到最新商品信息
{
List goodsList=new ArrayList();
String sql="select * from t_goods where del='no' order by id desc";
Object[] params={};
DB mydb=new DB();
try
{
mydb.doPstm(sql, params);
ResultSet rs=mydb.getRs();
while(rs.next())
{
Tgoods goods=new Tgoods();
goods.setId(rs.getString("id"));
goods.setCatelog_id(rs.getString("catelog_id"));
goods.setBianhao(rs.getString("bianhao"));
运行环境
Java≥8、Tomcat≥8.0、MySQL≥5.7
开发工具
eclipse/idea/myeclipse/sts等均可配置运行
技术框架
JSP Servlet MySQL DBUtil Tomcat JavaScript CSS jstl
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
功能说明
后台:登录、类别管理、菜品管理、会员管理、订单管理、留言管理等
前台:登录、注册、查看菜品、购买、留言
前台
后台