上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页
摘要: 1 打开子窗口。window.open('jrsManage_initAddJrs.action','window',"height=600, width=850, top=130, left=400,toolbar=no, menubar=no, scrollbars=no, resizable=... 阅读全文
posted @ 2013-11-08 15:59 roscee 阅读(734) 评论(0) 推荐(1) 编辑
摘要: 一、Struts1中的表示字符串的原样输出,同。如果所要输出的字符串中含有html标签的话,标签内容将原样输出(不解析)。如果要解析html中的内容,只要将filter属性值设为"false"就可以了。二、Struts2中对应的Struts1中的filter属性为escape,只需将escape的值... 阅读全文
posted @ 2013-10-28 22:25 roscee 阅读(216) 评论(0) 推荐(0) 编辑
摘要: oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@localhost:1521:orcl scott oracle ==============================Service 层: @Transactional public int userAdd(LoginU user){ int num = testDao.userAdd(user); int i = 3/0; return num... 阅读全文
posted @ 2013-10-26 20:30 roscee 阅读(2067) 评论(0) 推荐(0) 编辑
摘要: #FFFFFF #FFFFF0 #FFFFE0 #FFFF00 #A4D3EE#A3A3A3#A2CD5A#A2B5CD #FFFAFA#FFFAF0#FFFACD#FFF8DC #A1A1A1#A0522D#A020F0#9FB6CD #FFF68F#FFF5EE#FFF0F5#FFEFDB #... 阅读全文
posted @ 2013-10-18 11:48 roscee 阅读(985) 评论(0) 推荐(0) 编辑
摘要: Ognl --看做一个容器,里面有一个根对象 root(可以认为是个Map吧) root 可以添加对象数据访问root中的数据可以直接{对象} ,访问非root 中的对象 需要{#对象}======================================================Struts2 :将ActionContext 作为Ognl 的容器来看 ActionContext 类中有许多静态常量(PARAMETERS、VALUESTACK、SESSION、APPLICATION),注意没有request、repones要想获得request 和 repones 需要从Serve 阅读全文
posted @ 2013-10-16 14:18 roscee 阅读(216) 评论(0) 推荐(0) 编辑
摘要: Oracle 10g 下载地址Win 7 64 位系统 装 32位Oracle 可以成功, plsql 没发现问题。装 的Oracle 版本是10203_vista_w2k8_x86_production_db.zip在安装包的修改配置 按百度的来就行Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Microsoft Windows (32-bit)http://download.oracle.com/otn/nt/oracle10g/10201/10201_database_win32.zi 阅读全文
posted @ 2013-10-13 18:57 roscee 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 构架基类 action 继承基类public class BaseAction implements ServletRequestAware,ServletResponseAware,SessionAware,ServletContextAware { protected Map session; protected transient HttpServletRequest request; protected transient HttpServletResponse response; protected transient ServletContext context; pub... 阅读全文
posted @ 2013-09-28 00:26 roscee 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 别人几分钟搞定的事情,我搞了好几天,你信吗?下面是我碰到的一系列问题:一 global_name Db_name:对一个数据库(Oracle database)的唯一标识,但是如果是分布式的数据库,这个db_name 如何去确定唯一性 Db_domain:定义一个数据库所在的域,域的出现,解决了分布式数据库,名称的唯一性确认问题 Global_name:对一个数据库(Oracle database)的唯一标识,oracle建议用此种方法命令数据库。该值是在创建数据库是决定的,缺省值为Db_name. Db_domain。 【对于golbal_name 要不要启用这种命名方式,在建立db... 阅读全文
posted @ 2013-09-17 10:18 roscee 阅读(469) 评论(0) 推荐(0) 编辑
摘要: --建立临时表:create global temporary table temp on commit preserve rows [as select * from drv where 1=2] --session 级别 对话关闭后消失create global temporary table temp on commit delete rows [as select * from drv where 1=2] --transaction 级别 提交后消失create or replace procedure pro_show(rn in number)asvar_num number(1 阅读全文
posted @ 2013-09-16 14:24 roscee 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 工具类:package com.azcSoft.zbksyj.task.util;import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.IOException;import java.io.InputStream;import java.io.UnsupportedEncodingException;import java.net.SocketException;import java.util.ArrayList;import java.util.Li 阅读全文
posted @ 2013-09-13 13:44 roscee 阅读(1815) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页