最近看老罗视频,做了一个简单的用户注册系统。用户通过网页(JSP)输入用户名、真名和密码,Servlet接收后通过JDBC将信息保存到MySQL中。虽然是个简单的不能再简单的东西,但麻雀虽小,五脏俱全,在此做一归纳和整理。下面先上源码:一、index.jsp
<%
String path = request.getContextPath();
String basePath = request.g...
分类:
数据库 时间:
2014-06-29 07:24:04
阅读次数:
366
如果myeclipse 报如下错误A cycle was detected in the
build path of
project如果我们的项目包含多个工程(project),而它们之间又是循环引用的关系,那么Eclipse在编译时会抛出如下一个错误信息:“A cycle
was detected...
分类:
编程语言 时间:
2014-06-20 08:57:36
阅读次数:
525
我现在是这么画的,class A { private GeometryGroup
_lines; private Path _path; public A() { _path.Data = _lines; } public Draw() {
LineGeometry line = new LineG...
分类:
其他好文 时间:
2014-06-11 23:48:13
阅读次数:
1241
原文:【Vegas原创】Mysql绿色版安装方法所谓的绿色版,就是没有installer的MySQL,完全需要靠人工来操作,好处是,重装系统后,只要再做一次本次配置,即可使用。
具体操作方法: 1,设置系统环境变量, 在Path中添加 D:\mysql\bin 2,修改my-small.ini文件内...
分类:
数据库 时间:
2014-06-11 22:04:35
阅读次数:
344
java 安装与设置1. 安装 jdk2. 设置执行路径 unix: set
path=(/usr/local/jdk/bin $path) ( 在~/.cshrc文件里增加) linux: export
PATH=/usr/local/jdk/bin:$PATH (在 ~/.bashrc 或 ~/...
分类:
编程语言 时间:
2014-06-11 08:21:47
阅读次数:
319
Given amxngrid filled with non-negative
numbers, find a path from top left to bottom right whichminimizesthe sum of all
numbers along its path.Note:Yo...
分类:
其他好文 时间:
2014-06-07 20:22:17
阅读次数:
264
Given a binary tree and a sum, determine if the
tree has a root-to-leaf path such that adding up all the values along the path
equals the given sum.Fo...
分类:
其他好文 时间:
2014-06-07 16:55:09
阅读次数:
173
题目
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below binary t...
分类:
其他好文 时间:
2014-06-07 15:31:32
阅读次数:
179
static void Main(string[] args)
{
//string path = @"LDAP://CN=sp\administrator";
string username = "administrator";
string password = "6yhn^YHN";
...
分类:
其他好文 时间:
2014-06-07 15:20:59
阅读次数:
275
Tomcat 启动报
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
提示的解决办法:...
分类:
其他好文 时间:
2014-06-07 13:08:51
阅读次数:
309