自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (5)
  • 收藏
  • 关注

原创 Filter

使用 Filter 的完整流程是:Filter对用户请求进行预处理, 接着将请求交给Servlet进行处理并生成响应, 最后Filter再对服务器响应进行最后处理。 Filter 的用处: Filter 的种类: 创建 Filter 的步骤: 1、创建Filter处理类:Filter必须实现javax.servlet.Filter接口,接口中有如下三个方法。 △void in

2013-04-27 09:40:22 246

原创 db

  //获得数据源 DataSource ds = getDataSource(request,"dataSource"); //建立连接 Connection conn = ds.getConnection(); //建立声明 Statement stmt = conn.createStatement(); //建立SQL语句,用来查找和用户输入...

2012-04-12 14:01:42 134

原创 配置错误页面的处理

Struts框架虽然有错误处理机制,但是Struts并不能处理所有出现的错误,因此在web.xml中配置错误页面处理,是对Struts错误处理机制的一个补充.具体配置如下代码所示:     <error-page> <errpr-code>404</error-code> <location>/err404.jsp</location...

2012-04-12 10:15:31 121

ActionServlet配置

<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5" xsi:schemaLocation=&quo

2012-04-12 10:06:58 227

原创 ActionMessages,用法,(转)

  ActionMessages,用法,(转) 2007-08-12 22:10 在ActionMessages中包含着一个HashMap,其中的key就是add方法的property参数,然而他的值对应的是一个ActionMessageItem,ActionMessageItem是该类的一个内部类,当中包含了一个ArrayList。由此可见,一个property中可以包含着多个A...

2012-04-07 23:01:22 160

原创 ActionErrors的使用

  ActionErrors的使用 功能:在指定的位置和一定的程序运行条件下显示资源文件内容重要特色:显示资源文件内的HTML格式内容,这个区别于ActionMessage缺点:编译出现提示错误,并且1.2以上版本已经没有了这个基础类ActionErrors 第一步:在资源文件里面书写:#错误信息提示error.is.blank=<font color=red><b>...

2012-04-07 22:55:21 219

原创 配置action

<action path="ActionBean的url" type="ActionBeand的类" name="ActionBean用到的ActionForm的名字" scope="ActionForm的使用范围,缺省值为session" input="表单验证错误的时候转向的页面" validate="指明是否自动调用ActionForm中的validate

2012-04-07 22:51:31 65

tomcatPluginV33.zip

tomcatPluginV33.zip eclipse插件,支持tomcat7.0

2012-03-15

mysql语法大全

mysql语法大全 例如: 登录:mysql –h 127.0.0.1 –u root –p mysql –h localhost –u root –p

2012-03-15

mysql_front.zip

一款小巧的管理Mysql的应用程序。主要特性包括多文档界面,语法突出,拖拽方式的数据库和表格,可编辑/可增加/删除的域,可编辑/可插入/删除的记录,可显示的成员,可执行的SQL 脚本,提供与外程序接口,保存数据到CSV文件等。

2012-03-08

sqljdbc.jar

JDBC(Java Data Base Connectivity,java数据库连接)是一种用于执行SQL语句的Java API,可以为多种关系数据库提供统一访问,它由一组用Java语言编写的类和接口组成。JDBC为工具/数据库开发人员提供了一个标准的API,据此可以构建更高级的工具和接口,使数据库开发人员能够用纯 Java API 编写数据库应用程序,同时,JDBC也是个商标名。

2012-03-08

android-sdk_r16-windows.zip

Welcome to the Android SDK! The Android SDK archive initially contains only the basic SDK tools. It does not contain an Android platform or any third-party libraries. In fact, it doesn't even have all the tools you need to develop an application. In order to start developing applications, you must install the Platform-tools and at least one version of the Android platform, using the SDK Manager. Platform-tools contains build tools that are periodically updated to support new features in the Android platform (which is why they are separate from basic SDK tools), including adb, dexdump, and others. To install Platform-tools, Android platforms and other add-ons, you must have an Internet connection, so if you plan to use the SDK while offline, please make sure to download the necessary components while online. To start the SDK Manager, please execute the program "SDK Manager.exe". From the command-line you can also directly trigger an update by executing: tools\android.bat update sdk --no-ui Tip: use --help to see the various command-line options. For more information, please consult the Android web site at http://developer.android.com/sdk/

2012-03-04

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除