- 浏览: 426211 次
- 性别:
- 来自: 珠海
最新评论
-
ping2010:
哥们最后如何解决的?
neo4j 未修改jdbc驱动中的连接用户名与密码错识 -
Gedo:
小菜求指点 ivy.xml里面怎么声明 能不说详细点 大 ...
ivy + ant+eclipse -
dongguang1082:
[color=red][/color][img][/]
条形码的工作原理和详细的内容 -
JadeLuo:
要将项目转化成Flex的项目类型才会自动生成
Flex4项目html-template文件夹解析 -
quentinyu777:
你好,我在创建Flex4SDK的Project为什么不生成ht ...
Flex4项目html-template文件夹解析
文章列表
http://docs.jboss.com/jbpm/v4/javadocs/
http://dom4j.sourceforge.net/dom4j-1.6.1/apidocs/
14. 一.Document对象相关
15.
16. 1.读取XML文件,获得document对象.
17. SAXReader reader = new SAXReader();
18. Document document = reader.read(new File("input.xml"));
19.
20. 2.解析XML形式的文本,得到document对象.
21. String text = "<members>< ...
An element can have declared namespaces, attributes, child nodes and textual content.
A node can be output as its XML format, can be detached from its position in a document and can have XPath expressions evaluated on itself.
A node may optionally support the parent relationship and may be read on ...
package com.huike.leave.service.util;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.ut ...
String owner = task_assignee_AsList.get(0).substring(2, task_assignee_AsList.get(0).length()-1);
Map<String,Object> map = new HashMap<String,Object>();
map.put(owner, "testOwner");
ProcessInstance processInstance = executionService.startProcessInstanceById(id,map);
Ex ...
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document ...
<meta http-equiv="refresh" content="0;url=http://localhost:8080/WebContent"/>
package org.lxh.demo15.getclassdemo ;
class X{
};
public class GetClassDemo01{
public static void main(String args[]){
X x = new X() ; // 实例化X类的对象
System.out.println(x.getClass().getName()) ; // 得到对象所在的类
}
};
package org.lxh.demo15.getclassdemo ;
class X{
};
public class GetClassDemo02{
publi ...
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName ...
<%@page contentType="text/html;charset=UTF-8" %>
<%@page import="java.util.*" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
...
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="struts2" extends=& ...
<?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.sun.com/x ...
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="http://www.sp ...
默认用户 sys change_on_install 网络管理员
system manaager系统管理员 比较sys权限小
scott tiger
1
cmd
2
sqlplus / as sysdba
cmd
lsnrctl start 启动oracle 服务 不必再用services.msc 进入Window服务控制面板
dbca 创建数据库
默认用户:
超级用户: 用户名system/密码manager
用户名sys/密码change_on_install
普通的用户: 用户名scott/密 ...
1JDK设置问题 tomcat 端口最好不要设为80 也不要设成8080以免与Oracle冲突
2包冲突问题 asm asm-2.2.3 cglib-2.1.3 cglib-nodep-2.1_3 xerces-2.6.2
3web.xml struts.xml 版本声明是否对应 (注意复制其它文件夹时版本对应,最好不要全不复制) 可以从all-in-one 的包中的app下的例子中复制以保证版本对应,还可能尝试使用其它的过滤器,如:
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndEx ...