- 博客(16)
- 问答 (1)
- 收藏
- 关注
原创 解决Oracle ORA-12505, TNS:listener does not currently know of SID given in connect
完整的错误信息如下: java.sql.SQLException: Listener refused the connection with the following error:ORA-12505, TNS:listener does not currently know of SID given in connect descriptorThe Connection desc...
2010-11-15 10:09:50
1145
Flex Builder debug调试的时候遇到个错误
用Flex Builder debug调试的时候遇到个错误: Flex Builder cannot locate the required debugger version of Flash Player. You might need to install the debugger version of Flash Player 9 or reinstall Flex Builder....
2010-03-05 11:22:02
177
原创 js刷新框架子页面的七种方法
下面以三个页面分别命名为framedemo.html,top.html,button.html为例来具体说明如何做。 其中framedemo.html由上下两个页面组成,代码如下:以下是引用片段:< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <...
2009-07-21 16:31:00
123
jsp输出word
在页面直接打开word。 在Action中写 response.reset(); response.setContentType("application/msword;charset=GBK"); response.setHeader("Content-Disposition", "inline;filename=temp.doc"); response.getOut...
2009-07-06 15:26:36
182
原创 java.lang.IllegalStateException
java.lang.IllegalStateException: Current state = FLUSHED, new state = CODING_END web开发中报错-弹出Internet Explorer 无法打开...已终止操作 在当前系统中,发现错误,在点击某些超链时,会报错:“弹出Internet Explorer 无法打...
2009-06-15 22:53:18
698
jsp 图片读取
CREATE TABLE photo (photo_no int(6) unsigned NOT NULL auto_increment,image blob,PRIMARY KEY (`photo_no`)) ------------------------------------------------------------page import="java.sql.*" S...
2009-05-13 14:38:06
113
原创 Hibernate中取序列
Hibernate中取序列Session session=HibernateSessionFactory.currentSession(); Transaction tx=session.beginTransaction(); Long s=(Long)session.createSQLQuery("select SQU_TEST.nextval as id from du...
2009-05-12 16:50:27
208
Null value was assigned to a property of primitive
问题描述:Null value was assigned to a property of primitive type setter ,hibernate long型数据无法读取 hiberante读long 整型数据出错 hiberante读数据库出错 错误日志:Exception in thread "main" org.hibernate.PropertyAccessException...
2009-05-12 12:09:57
120
el表达式在jsp中不起作用 ${xxx }
el表达式在jsp中不起作用 ${xxx } 现在taglib标签库不是必须定义。 web.xml中的加入这些 <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="...
2009-05-10 22:06:20
162
java.lang.IllegalArgumentException
java.lang.IllegalArgumentException: node to traverse cannot be null!at org.hibernate.hql.ast.util.NodeTraverser.traverseDepthFirst(NodeTraverser.java:31)at org.hibernate.hql.ast.QueryTranslatorImpl.pa...
2009-05-10 20:27:41
122
Exception in thread "main" java.lang.UnsupportedCl
Exception in thread "main" java.lang.UnsupportedClassVersionError:前几天用Eclipse,说我Java版本不对,改用命令行,就出了这个问题,一直找不到原因,上网搜了搜,在这里找到了原因http://dev.cbw.com/java/j2se/2005955401_4188257.shtml后来看了几个网页,发现原来都是Ora...
2009-01-16 18:45:05
1005
javascript 子页传递父页参数
<% for(int i = 0 ; i<5 ; i++){ %> <input type="text" name="code<%=i %>" id="code<%=i %>" value="待取值" onclick="window.open('child.j
2008-08-02 10:34:58
146
原创 iBatis和Spring的整合方法
在使用iBatis的sqlmap时,总是有些疑惑,DAO是怎么找到sqlmap的配置文件的呢,DAO是怎么获得数据库的配置信息的呢,这些又是怎么和Spring整合在一起的呢?带着这些疑问,鄙人试图通过对某个项目的代码分析,来理清这些头绪。 当我们书写一个DAO实现类时,首先implement一个DAO接口。然后继承BaseDAO类。这个类对Spring的DaoSupport...
2008-07-28 02:54:01
212
原创 Linux AS4 下装mysql 的问题
在linux AS4 下装mysql 5.0.18.0,[root@localhost home]# rpm -ivh MySQL-server-standard-5.0.18-0.rhel4.i386.rpm 提示error: Failed dependencies: MySQL conflicts with mysql-4.1.12-3.RHEL4.1.i386然后我想卸载mysq...
2008-07-22 16:31:09
136
原创 Tomcat作为Linux系统服务自启动设置
Tomcat作为Linux系统服务自启动设置一. 简单的方法最简单的方法就是通过Tomcat自带的startup.sh来自动启动,编辑/etc/rc.d/rc.local,增加:export JDK_HOME=/usr/local/jdkexport JAVA_HOME=/usr/local/jdk/usr/local/tomcat/bin/startup.sh二. 复杂而专业的方法第一个方...
2008-07-22 16:26:39
129
自我实践Apache、Tomcat集群和负载均衡
(一)环境搭建 (1)apache2.0.55: (由http://httpd.apache.org/进入下载)(点击下载apache 2.0.55) (2)tomcat5.5.25: (由http://tomcat.apache.org/进入下载)(点击下载Tomcat 5.5.25 zip版) (3)mod_jk2.so: 在页面 http://tomcat.apache.org/ Downl...
2008-07-22 13:59:38
106
空空如也
关于 JavaEye Android Client 的问题
2012-11-13
TA创建的收藏夹 TA关注的收藏夹
TA关注的人