- 浏览: 68809 次
- 性别:
- 来自: 广州
最新评论
-
ylh990835774:
附件在哪里
让Eclipse支持JQuery代码自动完成 -
kenrome:
<iframe width="100%&qu ...
网页中嵌入pdf格式文件
文章列表
XP下Oracle 数据库在没有网路连接的情况下,启动会出现错误解决方法如下:
方法一:把listener.ora里面的host=*.*.*.* 更改为0.0.0.0
让监听器监听在所有可用的地址就可以启动监听器了。
方法二:通过安装Window Loop Back网卡来实现。
控制面板->安装新硬件->选择 Microsoft下面的Loop back网卡,安装完就有一个可用的物理网卡,只是不能用来上网,其它的设置和正常网卡一个样。
- 2009-05-06 19:46
- 浏览 1365
- 评论(0)
尝试连接数据库时 出现如下异常:
Io 异常: The Network Adapter could not establish the
解决方法:
Io 异常: The Network Adapter could not establish the connection这个异常的出现一般与数据库和你的PC的设置有关
这种异常的出现大致上有下面几种: ...
- 2009-05-06 19:39
- 浏览 2956
- 评论(0)
教你咋使war文件
不知道你听说过没有war文件?啥?可不是“战争”文件哦,没听过?好就让我告诉你它是干啥跌。。。。
如果你了解些java,那么jar文件肯定知道,那war文件到底是干啥的捏?
当你一个web应用程序很多的时候,如果你想把它部署到别的机器上,来回拷这些文件是件挺郁闷的事情,如果要是一个文件就好了。。。那么war文件就可以满足你这个小小的要求。它的打包方式跟jar很相似,也是用jar命令,代开命令提示符(cmd),来到你的项目目录下(比如你的项目名叫web1)执行如下命令:
CODE:
jar -cvf web1.war *
...
- 2009-05-06 17:36
- 浏览 1705
- 评论(0)
<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>display send mail result</title>
<meta http-equiv="pragma" ...
- 2009-05-05 11:03
- 浏览 1110
- 评论(0)
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<! ...
- 2009-05-05 11:01
- 浏览 2657
- 评论(0)
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java. ...
- 2009-05-05 11:00
- 浏览 1577
- 评论(0)
/**
*
*/
package cn.demo.fupload;
import java.io.File;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.Iterator;
import java.util.List;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletExce ...
- 2009-05-05 10:58
- 浏览 2831
- 评论(0)
/**
* 使用java mail 发送邮件需要注意:1.jdk版本和java mail版本的兼容;2.activation包需要导入
*/
package cn.zhtech.zhqc.mail;
import java.util.Date;
import java.util.Properties;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Se ...
- 2009-04-28 11:40
- 浏览 1296
- 评论(0)
<!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; charset ...
- 2009-04-28 11:36
- 浏览 1435
- 评论(0)
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the &qu ...
- 2009-04-27 17:21
- 浏览 1525
- 评论(0)
-
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the ...
- 2009-04-27 17:19
- 浏览 1670
- 评论(0)
-
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the ...
- 2009-04-27 17:17
- 浏览 1259
- 评论(0)