- 浏览: 108271 次
- 性别:
- 来自: 武汉
最新评论
-
Joe192:
按照步骤添加了用户角色,并且重启了saiku服务,但是没有改用 ...
Saiku权限 -
blackbeauty1988:
求saiku-service-2.5.jar源码……
Saiku/Mondrian 国际化 -
SuperCustomer:
你是谁?我认识你吗?
Eclipse Maven插件地址 -
abc314702637:
专门整了个Java博客。欢迎赐教:http://aijav ...
Eclipse Maven插件地址 -
SuperCustomer:
我配置成功了
Mondrian XML/A 配置
文章列表
http://map.simpleapi.net/stationapi?x=139.7048&y=35.6886&output=xml
1、DOM
package jp.com.syspro.util;
import java.io.File;
import java.io.IOException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfig ...
1、新建一工程S2SI,拷贝以下jar包到lib文件夹里面
commons-dbcp.jarcommons-fileupload-1.2.1.jarcommons-logging-1.0.4.jarcommons-pool.jarfreemarker-2.3.13.jaribatis-2.3.0.677.jarmysql-connector.jarognl-2.6.11.jarspring.jarstruts2-core-2.1.6.jarstruts2-spring-plugin-2.1.6.jarxwork-2.1.2.jar
2、web.xml配置
<?xml versi ...
1、字符串替换
String.prototype.replaceAll = function(src,desc){
return this.replace(new RegExp(src,"gm"),desc);
}
正则表达式中:g=global,m=multiLine
2、去左右空格
String.prototype.trim = function() {
return this.replace(/(^\s*)|(\s*$)/g, "");
}
3、排序
function sort(){
...
1、JSP页面
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<m ...
1、简介
JSON-RPC-Java是一个用Java来实现动态JSON-RPC的框架。 利用它内置的一个轻级量JSON-RPC JavaScripIt客户端,可以让你透明地在JavaScript中调用Java代码。
2、实例
一、下载JSON-RPC包并解压
http://oss.metaparadigm.com/jsonrpc-dist/json-rpc-java-1.0.1.zip
二、将jsonrpc.js文件拷贝到项目WebRoot下任意目录,将jsonrpc jar包拷贝到项目的WEB-INF/lib目录下
三、web.xml文件
<web-app ...
1、
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<title>JS Test</title>
<script type="text/javascript">
fun ...
1、下载JSON jar包
http://json-lib.sourceforge.net/
2、下载JSON js库
http://www.json.org/json2.js
3、下载JSON jar包依赖的jar包
jakarta commons-lang 2.4
jakarta commons-beanutils 1.7.0
jakarta commons-collections 3.2
jakarta commons-logging 1.1.1
ezmorph 1.0.6
4、新建一项目Json,导入以上jar包以及struts1.3所需ja ...
1、下载lomboz-all-in-one
http://download.forge.objectweb.org/lomboz/org.objectweb.lomboz-all-in-one-R-3.3-200710290621-win32.zip
2、下载tomcat
http://tomcat.apache.org/
3、 下载tomcat插件
http://www.eclipsetotale.com/tomcatPlugin/tomcatPluginV321.zip
4、将上面下载好的三个文件分别解压到任意目录
5、将tomcat插件解压后的文件夹 ...
import java.io.*;import org.apache.poi.hssf.usermodel.HSSFWorkbook;import org.apache.poi.poifs.filesystem.POIFSFileSystem;
public class POISample{ public static void main(String[] args){ FileInputStream in = null; HSSFWorkbook workbook = null;
try{ in = new FileInputStream("sam ...
1.导入下面两个包
jstl.jar
standard.jar
2.在jsp页面导入标签库
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
3.使用
(1)<c:url>
a.用法
<c:url value="url" context="context" var="varName" scope="{page|request|session|appli ...
import java.awt.Container;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.Transferable;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.InputEvent;
import java.awt.event.MouseEvent;
i ...
1、JavaScript
<script type="text/javascript">
var xmlHttp;
var result;
function createXMLHttpRequest(){
if(window.ActiveXObject){
try{
xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
}catch(e1){
try{
xmlHttp=new ActiveXObject("Microsoft.X ...
1、Struts1.xcommons-beanutils-1.8.0.jarcommons-chain-1.2.jarcommons-digester-1.8.jarcommons-logging.jarstruts-core-1.3.10.jar
struts-taglib-1.3.10.jar
2、Spring
commons-logging.jarspring.jar
3、Hibernate
antlr-2.7.6.jarasm.jarcglib-2.1.3.jarcommons-collections.jarcommons-logging.jardom4j-1.6. ...
1、异常信息:ORA-00923: FROM keyword not found where expected
原因:sql语句关键字缺失或拼写错误
2、异常信息:第 1 行出现错误:ORA-29855: 执行 ODCIINDEXCREATE 例行程序时出错ORA-13203: 无法读取 USER_SDO_GEOM_METADATA 视图ORA-13203: 无法读取 USER_SDO_GEOM_METADATA 视图ORA-06512: 在 "MDSYS.SDO_INDEX_METHOD_10I", line 10原因:需要先插入元数据视图后才能创建空间索引
...
1、查询当前用户的表
select tname from tab;
select table_name from user_tables;