- 浏览: 469161 次
- 性别:
- 来自: 南京
最新评论
-
fkbld:
楼主给个密码,谢谢了,baild_zr@126.com
ExtJs direct 推送 DEMO -
文思涌动:
你的方法太好用了,感激不尽。
MyEclipse 安装ADT -
zys08:
...
jquery uploadify -
攻城使:
我现在也在学习使用Uploadfiy,摸索中
jquery uploadify -
gksrxn:
liuyulovely 写道怎么解压还要密码,楼主解压的密码是 ...
ExtJs direct 推送 DEMO
文章列表
ACTION
--------
try {
this.journal = this.journalService.getById(TbJournal.class, Long.valueOf(super.getParameter("id")));
} catch (NumberFormatException e) {
service
-------------
public <T> T getById(Class<T> t,Long id) throws BOException;
public <T> T get ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; chars ...
<!-- ***************************************************************** -->
<DIV id=demo style="OVERFLOW: hidden;">
<TABLE cellPadding=0 align=left border=0 cellspace="0">
<TBODY>
<TR>
<TD id="demo1" vAlign=top>
<TABLE cellS ...
一个老师 -- 关联 多个学生
create table STUDENT (
ID NUMBER(16) not null,
STUDENT_NAME VARCHAR(20),
TEACHER_ID NUMBER(16),
constraint PK_STUDENT primary key (ID)
);
create table TEACHER (
ID NUMBER(16) ...
------------------------------------------------------------------------------------------
快速搭建 HIBERNATE,以便测试
------------------------------------------------------------------------------------------
person - address
public class Person implements java.io.Serializable {
// Fields
priv ...
------------------------------------clear-------------------------
启动 关闭 tomcat
ls (查看目录文件)
cd apache-tomcat-5.5.17 (打 a 按TAB键) 进入tomcat
cd bin
ls bin
sh shutdown.sh (关闭tomcat)
sh startup.sh (启动tomcat)
ps -ef|grep java (查看进程 kill、 ps -aux|grep java)
查看后台
cd apache-tomcat-5.5.17
...
昨天从晚上10点搞到凌晨5点半,没有搞好
就简单的VMware下Linux上网配置
早上来,2分钟搞定了,搞不明白啊
1、禁止VMware Network Adapter VMnet1和VMware Network Adapter VMnet8
2、设置Linux下网络配置
DNS 设置为:192.168.0.1
连接模式改为 桥接模式
激活eth0,设置自动获取IP
就这2步,哦啦,╮(╯▽╰)╭
linux 安装 JDK
下载 jdk.bin文件
复制到Linux文件夹运行
1、赋予sudo权限
2、sudo -s ./jdk.bin
3.一路enter.....
4、ok,安装完毕,下面配置环境变量
(cry我的用户名)
vi root 模式下 编辑 etc/profile最后行添加
#set java environment
JAVA_HOME=/home/cry/jdk1.6.0_18
export JRE_HOME=/home/cry/jdk1.6.0_18/jre
export CLASSPATH=.:$JAVA_HOME/lib:$ ...
1、启动Linux root权限登录
2、点击VMware菜单栏 安装VMware-tools
3、复制VMware-tools-****.tar.gz其他或新建文件夹
4、解压文件 tar zxvf VMware-tools-****.tar.gz
5、运行解压文件 ./vmware-install.pl
/BIN/目录下
./vmware-config-tools.pl
一路 Enter 即可。
-------------------------------------------------
设置VMware的共享文件夹
1、在VM设置里面-option ...
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.
解决:在业务成添加事务即可。
/**
* TimerTaskCount.java
* com.linkage.util
*
* Function: TODO
*
* ver date author
* ──────────────────────────────────
* Mar 10, 2010 chengYu
*
* Copyright (c) 2010, All Rights Reserved.
*/
package com.linkage.util.count;
/**
* ClassName:TimerTaskCou ...
System.getProperty("os.name");
if(".rar".equals(endPhoto)){
System.out.println("开始解压------------------------");
System.out.println("操作系统名称="+System.getProperty("os.name"));
if(System.getProperty("os.name").indexOf(& ...
var url = 'orderInfor.jsp';
window.showModalDialog(url,window,
'dialogwidth:450px;dialogheight:280px;help:0;center:yes;resizable:0;status:0;scroll:yes');
var data = 'id='+id;
$.ajax({
url:'queryOrderInfor.action',
data:data,
type:'post',
cache:false,
error:function(){
},
success:function(result){
win =new Win(
{
title:"",
id:"select",
...
D:\developer\oracle\product\10.2.0\db_1\network\admin\listener.ora
AH =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 221.130.6.207)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = AH)
)
)
配置 PL SQL
====> Net configuration A ...