document.domain用来得到当前网页的域名。 比如在地址栏里输入:javascript:alert(document.domain); //www.315ta.com我们也可以给document.domain属性赋值,不过是有限制的,你只能赋成当前的域名或者基础域名。 比如: javasc...
分类:
其他好文 时间:
2015-06-03 11:14:47
阅读次数:
109
在Java的世界中,经常会涉及到需要在2个对象中进行转换,比如说:调用SOAP Web服务,需要把自己的Domain对象转换为Soap服务的Jaxb对象请求,在分层级SOA架构中,2个层级之间Domain对象的转换,在分布式系统中,每个模块使用自己的领域对象,防止自己的业务被其他模块的domain对...
分类:
其他好文 时间:
2015-06-02 14:54:21
阅读次数:
294
ORM映射关系:注解方式package org.crazyit.app.domain;import javax.persistence.*;import org.hibernate.annotations.Formula;@Entity(name="news_inf")public class Ne...
分类:
Web程序 时间:
2015-06-02 14:42:51
阅读次数:
263
本节条款相对简单,通俗的意思就是说 “有一个”和“是一个”的区别,以及在应用域(application domain)和实现域之间的区别(implementation domain)。
如下代码:1.class Bird//鸟
{
public:
//............
};class ostrich:public Bird//鸵鸟
{
public:
//............
分类:
编程语言 时间:
2015-06-02 11:19:21
阅读次数:
169
使用AFNetworking出现报错:error=Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/html" Use...
分类:
移动开发 时间:
2015-06-02 00:21:39
阅读次数:
540
设计模式工厂模式的概念Define an interface for creating an object,but let subclasses decide which class to instantiate.Factory Method lets a class defer instantiation to subclasses.(定义一个用于创建对象的接口,让子类决定实例化哪一个类。工厂方法使一个...
分类:
其他好文 时间:
2015-06-01 18:52:10
阅读次数:
106
以前用的好端端的接口,今天访问居然出错了,但是再用浏览器测试,发现可以正常返回数据,甚是奇怪啊。下面是错误信息:获取服务器响应出错error=Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request fai...
分类:
移动开发 时间:
2015-06-01 18:14:47
阅读次数:
224
Error Domain=NSCocoaErrorDomain Code=3000 "未找到应用程序的“aps-environment”的权利字符串" UserInfo=0x1bad30 {NSLocalizedDescription=未找到应用程序的“aps-environment”的权利字符串}...
分类:
其他好文 时间:
2015-06-01 16:17:06
阅读次数:
176
# The ServerName
directive sets the request scheme, hostname and port that
# the server
uses to identify itself. This is used when creating
# redirection
URLs. In the context o...
分类:
Web程序 时间:
2015-06-01 09:42:25
阅读次数:
147
一,安装WebLogic Server
1,双击exe安装文件
2,准备安装文件
3,生成向导序列
4,选择安装路径
5,开始安装
经过以上步骤,安装完成。
二,配置域(Domain)
1,从所有程序中搜索"Configuration Wizard",双击打开...
分类:
Web程序 时间:
2015-05-31 21:46:52
阅读次数:
248