10 2017 档案

Eclipse jar打包详解
摘要:https://jingyan.baidu.com/article/219f4bf7d0ef87de442d3820.html 阅读全文

posted @ 2017-10-31 20:25 3r3r3www 阅读(91) 评论(0) 推荐(0)

Java bean 是个什么概念?
摘要:https://www.zhihu.com/question/19773379 阅读全文

posted @ 2017-10-30 20:46 3r3r3www 阅读(144) 评论(0) 推荐(0)

使用onsubmit return false 阻止form表单提交的方法介绍
摘要:使用 onsubmit=return false 阻止表单提交,要注意以下几点: 1,return 的返回值问题,函数中return一旦有返回值,就不在执行下面的语句,直接跳到函数调用的地方。如下PHP函数代码,第一个if条件符合则函数值返回布尔型false,可以返回一个函数的值,并且跳出这个函数; 阅读全文

posted @ 2017-10-29 15:38 3r3r3www 阅读(973) 评论(0) 推荐(0)

execute、executeQuery和executeUpdate之间的区别
摘要:JDBC中Statement 接口提供了三种执行 SQL 语句的方法: executeQueryexecuteUpdate execute 使用哪一个方法由 SQL 语句所产生的内容决定。 1>方法executeQuery 用于产生单个结果集(ResultSet)的语句,例如:被执行最多的SELEC 阅读全文

posted @ 2017-10-28 22:11 3r3r3www 阅读(173) 评论(0) 推荐(0)

1027
摘要:<body> <br> <% request.setCharacterEncoding("utf-8"); String users=request.getParameter("username"); String pass=request.getParameter("pwd"); %> <% St 阅读全文

posted @ 2017-10-27 18:32 3r3r3www 阅读(672) 评论(0) 推荐(0)

jsp简单注册验证
摘要:<script language="javascript"> function isValid(form) { if (form.username.value=="") { alert("用户名不能为空"); return false; } if (form.pwd.value!=form.pwd2 阅读全文

posted @ 2017-10-26 17:49 3r3r3www 阅读(122) 评论(0) 推荐(0)

html meta标签
摘要:http://www.w3school.com.cn/tags/tag_meta.asp 阅读全文

posted @ 2017-10-25 17:43 3r3r3www 阅读(86) 评论(0) 推荐(0)

form表单提交onclick和onsubmit
摘要:onsubmit只能表单上使用,提交表单前会触发, onclick是按钮等控件使用, 用来触发点击事件。在提交表单前,一般都会进行数据验证,可以选择在submit按钮上的onclick中验证,也可以在onsubmit中验证。 但是onclick比onsubmit更早的被触发。 提交过程1、用户点击按 阅读全文

posted @ 2017-10-23 15:33 3r3r3www 阅读(142) 评论(0) 推荐(0)

table居中
摘要:关于表格中的内容:: 在表格td中,有两个属性控制居中显示 align——表示左右居中——left,center,right valign——控制上下居中——left,center,right 这两个属性综合使用,就可以让单元格的内容上下左右都居中显示。 但是有的时候吧,会失效,那么在td中设置te 阅读全文

posted @ 2017-10-23 15:31 3r3r3www 阅读(340) 评论(0) 推荐(0)

jsp:forward与send.redirect的区别
摘要:一、调用方式 我们知道,在servlet中调用转发、重定向的语句如下: request.getRequestDispatcher("new.jsp").forward(request, response); //转发到new.jsp response.sendRedirect("new.jsp"); 阅读全文

posted @ 2017-10-21 21:16 3r3r3www 阅读(624) 评论(0) 推荐(0)

登录主程序
摘要:<%@ page language="java" import="java.sql.*" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> <body><% Con 阅读全文

posted @ 2017-10-20 20:04 3r3r3www 阅读(224) 评论(0) 推荐(0)

10.19
摘要:String sql="select username,password from users" RrsultSet rs=stmt.executeQuery(sql); request.setCharacterEncoding("UTF-8"); String s1=request.getPara 阅读全文

posted @ 2017-10-19 22:23 3r3r3www 阅读(157) 评论(0) 推荐(0)

1017 程序流程图
摘要:在需求分析阶段我们经常会使用不同的手段去剖析我们所要面对的业务,这里我常用的方式有3种:流程图、盒图(N-S图)、PAD图!但是老实说,我90%时候都只用流程图并配合思维导图,因为我实在受不了盒图和PAD图那混乱的表达方式!😄 Same pictures, so you not say... 1. 阅读全文

posted @ 2017-10-17 19:50 3r3r3www 阅读(152) 评论(0) 推荐(0)

Jsp连接Mysql
摘要:String driverName="com.mysql.jdbc.Driver";String userName="用户名";String userPwd="密码";String dbName="数据库名";String url1="jdbc:mysql://localhost:3306/"+db 阅读全文

posted @ 2017-10-16 20:59 3r3r3www 阅读(128) 评论(0) 推荐(0)

mysql修改密码的方法
摘要:方法1: 用SET PASSWORD命令 首先登录MySQL。 格式:mysql> set password for 用户名@localhost = password('新密码'); 例子:mysql> set password for root@localhost = password('123' 阅读全文

posted @ 2017-10-15 18:52 3r3r3www 阅读(176) 评论(0) 推荐(0)

mysql错误代码2003的解决办法
摘要:“ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)” 的错误: 右键“计算机”点击“管理”, 然后点击“服务和应用程序”,双击“服务”,找到MySql的服务,右键启动就可以了。 阅读全文

posted @ 2017-10-13 12:45 3r3r3www 阅读(445) 评论(0) 推荐(0)

java和mysql的连接
摘要:http://www.runoob.com/java/java-mysql-connect.html 阅读全文

posted @ 2017-10-12 21:06 3r3r3www 阅读(123) 评论(0) 推荐(0)

宿舍桶装水配送系统参考
摘要:https://wenku.baidu.com/view/66de2db63968011ca2009171.html 阅读全文

posted @ 2017-10-10 11:10 3r3r3www 阅读(424) 评论(0) 推荐(0)

习题3 软件工程
摘要:https://wenku.baidu.com/view/545eed640b1c59eef8c7b47f.html 阅读全文

posted @ 2017-10-09 13:34 3r3r3www 阅读(113) 评论(0) 推荐(0)

导航