`
robinsoncrusoe
  • 浏览: 736579 次
  • 性别: Icon_minigender_2
  • 来自: 深圳
社区版块
存档分类
最新评论
文章列表
Jsp连接Oracle 10G 首先第一步: 创建数据库,我这里说明一下,我用的是命令提示符创建的,想看下去的就接着来: 我的电脑----开始----运行----输入“cmd”接着就调出来了命令提示符页面 Microsoft Windows XP [版本 5.1.2600] (C) 版权所有 1985-2001 Microsoft Corp. C:\Documents and Settings\abin>sqlplus system/abin SQL*Plus: Release 10.2.0.1.0 - Production on 星期四 11月 25 14:28:16 2 ...
 1、连入SQL*Plus   以system/manager用户登录,      SQL> conn system/manager      创建新的用户:如user1/pass1,赋予connect,resource权限。      SQL> grant connect,resource to user1 identified by pass1;      SQL> conn user1/pass1   ...
JSP留言板程序-开发过程: http://blog.sina.com.cn/s/blog_57e91ba20100b3yr.html 人型电脑天使心:http://blog.myspace.cn/e/404491149.htm 创建持久化类:http://blog.myspace.cn/e/404491117.htm struts2中文教程:http://edu.seuuo.com/tool/struts2.0/
w3school:http://www.w3school.com.cn/sql/sql_create_index.asp 天极网 > 开发频道:http://dev.yesky.com/devsjk/ 网侠:http://www.hackhome.com/InfoView/Article_184908.html 第15章:存储引擎和表类型:http://imysql.cn/docs/MySQL_51_zh/storage-engines.html
当你oracle刚刚装完的时候,一般是指,oracle安装没有出错的情况,这个时候使用plsql的时候,plsql没有检测到oracle的默认数据库ORCL或者XE,这个时候你就可以进入到plsql的首选项里面去填写(或者修改)一下oracle的HOME和oci.dll的路径就会好的。

Servlet上传文件

    博客分类:
  • JAVA
准备工作:要到http://commons.apache.org/fileupload/download_fileupload.cgi下载上传文件需要的组件类库并且到 http://commons.apache.org/io/download_io.cgi上下载其IO组件,再有了这两个组件之后我们就可以编写一个上传的Servlet程序了。 1.建立一个jsp文件里面有文件域,能够提交给要处理数据的servlet程序的映射路径,form标签中有enctype="multipart/form-data"这条属性。 2.然后我们新建一个处理该Post方法的servlet程序,设置映 ...
本文将告诉你学习Java需要达到的25个目标,希望能够对你的学习及找工作有所帮助。对比一下自己,你已经掌握了这25条中的多少 条了呢?  1.你需要精通面向对象分析与设计(OOA/OOD)、涉及模式(GOF,J2EEDP)以及综合模式。你应该了 ...
一、java.util.Timer        在Java中有一个任务处理类java.util.Timer,非常方便于处理由时间触发的事件任务,只需建立一个继承java.util.TimerTask的子类,重载父类的run()方法实现具体的任务,然后调用Timer的public void schedule(TimerTask task ...
int numberCount = 6; Set set = new TreeSet(); while (set.size() < numberCount) { int number = (int) (Math.random() * 33)+1; if (!set.contains(number)) { set.add(number); } } // out.println(set); String result=set.toString().substring(1,set.toSt ...
Date类学习总结  1.计算某一月份的最大天数 Calendar time=Calendar.getInstance(); time.clear(); time.set(Calendar.YEAR,year); //year 为 int time.set(Calendar.MONTH,i-1);//注意,Calendar对象默认一月为0 int day=time.getActualMaximum(Calendar.DAY_OF_MONTH);//本月份的天数 注:在使用set方法之前,必须先clear一下,否则很多信息会继承自系统当前时间 2.C ...
这个小实例有三个页面 index.jsp页面内容如下: You can choose the list you want to operate: <br>     <a href="setCookie.jsp">Write Cookie</a>     <br>     <a href="getCookie.jsp">Read Cookie</a>           setCookie.jsp页面内容如下:      <%     Cookie cookie = new ...
<%@ page language="java" import="java.util.*,java.sql.*,com.abin.db.connection.*,java.text.*,com.abin.test.connection.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme() + "://" + re ...
<%@ page language="java" import="java.util.*,java.sql.*,com.abin.db.connection.*,java.text.*,com.abin.test.connection.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getSer ...
import java.util.Date; public class Test { /** * @param args * @author Goto */ public static void main(String[] args) throws Exception{ int ...
<%@ page language="java" import="java.util.*,java.sql.*,com.abin.db.connection.*,java.text.*" pageEncoding="utf-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+req ...
Global site tag (gtag.js) - Google Analytics