摘要:smartupload图片上传 使用smartupload上传图片虽然效率不高,但比较简单。只需要一个smartupload.jar包就可以用jsp使用了。下面举一个上传图片的小例子:step1.前台页面: smartupload 上传的图片: Step2.后台jsp页面 smartupload                    阅读全文
                
            数据结构(迷宫求解c++)
2012-10-15 19:01 by Lves Li, 612 阅读, 0 推荐, 收藏,
摘要:#include "sqstack.h"Status InitStack(Stack &S){ S.top = 0 ; for( int i = 0 ; i 0){ e=S.data[S.top]; S.top--;	return true;	}else return false;	}迷宫求解小游戏共三个头文件三个源文件,下面先列出头文件再列出源文件:#include #pragma once#define Status bool#define TRUE true#define FALSE falsestruct PosType {	int r,c; //...                    阅读全文
                
            数组引用做形参练习(数据结构test3)
2012-09-16 14:05 by Lves Li, 212 阅读, 0 推荐, 收藏,
摘要://// StudentTest3.cpp : 定义控制台应用程序的入口点。
/*
数据结构实验一,用顺序表实现 线性表的造作 */ #include "stdafx.h"
#include using namespace std;
#define length 100 //宏定义数组长度
//定义Student结构体
struct Student{
int num;
float score;
}; //函数声明
void Creat(Student (&stu)[length]);//创建Student顺序表
void Display(Student (&                    阅读全文
                
            链表练习(数据结构线性表test2)
2012-09-16 13:29 by Lves Li, 208 阅读, 0 推荐, 收藏,
摘要:// StudentTest2.cpp : 定义控制台应用程序的入口点。
// #include "stdafx.h"
#include #include using namespace std;
struct Student
{ int num; float score; Student *next; //next指向Student结构体变量
}; Student *Creat_front(); //按头插法创建链表,以-1 -1作为输入结束标志
void Output(Student *head); //输出链表全部元素 Student *Creat_re...                    阅读全文
                
            html5(test1.提交表单)
2012-09-14 23:25 by Lves Li, 299 阅读, 0 推荐, 收藏,
摘要:"> LoginDifferent.jsp 注册界面 昵称: 邮箱: 密码: 确认密码: ...                    阅读全文
                
            计算水仙花数
2012-09-12 21:22 by Lves Li, 274 阅读, 0 推荐, 收藏,
摘要://数据结果课 老师布置了计算水仙花数程序转载如下:package com.WildCat.Shuixianhuan;
import java.math.BigInteger;
import java.util.Arrays;
public class a { private static BigInteger[] table = new BigInteger[10]; public static void main(String[] args) { long time = System.nanoTime(); find(21);//计算21位水仙花数 time =...                    阅读全文
                
            Test2.数据库批处理添加练习(mysql_java)
2012-09-11 21:51 by Lves Li, 172 阅读, 0 推荐, 收藏,
摘要:package JDBC.WildCat.com; import java.sql.*;
public class TestBatch { /** * 批处理添加练习 * @param args */ public static void main(String[] args)throws Exception { // step1. new一个Driver Class.forName("com.mysql.jdbc.Driver"); //step2. 拿到一个连接 String url = "jdbc:mysql://localhost/wild_java...                    阅读全文
                
            Test1. java连接数据库(mysql)
2012-09-11 21:47 by Lves Li, 145 阅读, 0 推荐, 收藏,
摘要:package JDBC.WildCat.com;
import java.sql.*;
public class TestJdbc1 { /**标准版 * MySql数据库小程序 实现wild_java数据库里student表的查询 * * @param args * @throws SQLException * @throws ClassNotFoundException */ public static void main(String[] args) { Connection conn=null; Statement stmt=...                    阅读全文
                
            Struts2转换小程序(Struts2.3.4)
2012-08-19 19:36 by Lves Li, 185 阅读, 0 推荐, 收藏,
摘要:1.jsp登陆界面 "> My JSP 'Login2_1.jsp' starting page --> 提示:姓名和密码用冒号分开 User : 2.Strtus配置Struts.xml /result.jsp /result2_2.jsp /result3_1.jsp /Register_Result.jsp 3.User类package com.Wi...                    阅读全文
                
            把一个字符串通过递归转换成相应数字
2012-08-04 09:42 by Lves Li, 364 阅读, 0 推荐, 收藏,
摘要:package WildCat.XML.readFloas; import java.io.File;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List; import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.DocumentHelper;
import org.dom4j.Element;
import org.dom4j.io.SAXReader; public class c...                    阅读全文
                
             
                    
                     
                    
                 
                    
                 浙公网安备 33010602011771号
浙公网安备 33010602011771号