- 博客(63)
- 收藏
- 关注
![](https://csdnimg.cn/release/blogv2/dist/pc/img/listFixedTop.png)
原创 下载路径,安装和基本语法
1. 下载路径http://maven.apache.org/download.html#Installation2. 安装方法Windows 2000/XPUnzip the distribution archive, i.e. apache-maven-2.2.1-bin.zip to the directory you wish to install Maven 2.2.1. T
2009-10-27 09:42:00
407
原创 Liferay Portal服务器上的portlet开发_2: 在EXT中开发最简单的JSP
1. JSP文件:路径: D:/liferay/ext/ext-web/docroot/html/portlet/ext/myjspportletview.jsp" />">Hello Everyone! init.jspPortletPreferences preferences = renderRequest.getPreferences();%>
2010-04-20 14:31:00
741
原创 Liferay Portal 服务器的PORTLET开发_1:eclipse 开发环境设置
1. 下载:liferay-portal-tomcat-6.0-5.2.3.zip, liferay-portal-src-5.2.3.zip 2. 开发要求: eclipse (with ant) 3. D:/liferay 为LIFERAY 的安装目录。 将 liferay-portal-src-5.2.3.zip解压到D:/liferay/portal目录下。
2010-04-20 14:13:00
872
原创 安装liferay
1. 安装JDK, 设置JAVA_HOME.(略)2. 安装TOMCAT,设置 CALALINA_HOME(略)3. 下载life_portal_xxx.war, life_portal_dependencies_xxx.jar路径:http://download.huihoo.com/liferay/20081015-156.html 4. liferay_portal_
2010-04-04 16:39:00
555
原创 使用maven生成javadocs
1. 生成简单的javadocmvn javadoc:javadoc 2. 父子合成项目生成总项目的javadoc父项目:d:/workspace/hellopom.xml org.apache.maven.plugins maven-javadoc-plugin 2.6.1
2010-04-01 11:56:00
875
原创 使用MAVEN构建portlet应用
1. 开发工具:eclipse, 开发目录:%eclipse_wk%=d:/workspace%eclipse_wk%设置为m2_repo%eclipse_wk%/mvn -Declipse.workspace=D:/workspace eclipse:add-maven-repo 2. 使用archetype生成构建框架%eclipse_wk%/mvn archetype:g
2010-04-01 09:19:00
635
原创 jetspeed更新DECORATOR和PORTAL页面设计
1。jetexpress原码路径:jetexpress_src=D:/jets/jetexpress目录tutorial_src = D:/jets/jetexpress/tutorial-resources目录 1。修改页面设计1) 在%jetexpress_src%/jetexpress-portal/src/main/webapp: 创建目录 decorations,
2010-03-29 10:50:00
568
原创 jetspeed的安装
普通安装方法 1. 下载路径:http://portals.apache.org/jetspeed-2/download.html其中:jetspeed-installer-mininal-2.2.0.jar是管理员版本,jetspeed-installer-demo-2.2.0.jar是demo版本 2. 链接数据库:mysql51) 讲my.ini中的characer
2010-03-26 12:31:00
859
原创 列表及分页实例1
1. jsp页面中: body { background-color: #FFFFFF; margin-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 0px;}-->var page;var tdObj;var theIndex;v
2010-03-24 16:56:00
356
原创 Oracle SQL实例
1。select * from a where a.rowid=(select min(b.rowid) from b where a.id=b.id);create test1(nflowid number primary key, ndocid number,drecvdate date); insert into test1 values (1, 12301, sys
2010-02-03 10:59:00
317
原创 需要进一步测试的内容
http://www.java2s.com/Tutorial/Oracle/CatalogOracle.htm ORACLE SQL SKILLS 1) TO DO TESTING:have, all, any, level, with(using), connect by 2) to check the meaning:IS INFINITE, IS NAN,
2010-01-23 20:44:00
485
原创 AXIS2实例6:wsdl2java(object 方法)
1. server1) 修改HelloService.wsdlhttp://schemas.xmlsoap.org/wsdl/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://c
2009-11-17 15:20:00
890
原创 AXIS2实例5:wsdl2java语法
NAME wsdl2java.sh or wsdl2java.bat - Generates java code according to a given WSDL file to handle Web service invocation. These scripts can be found under the bin directory of the Axis2 d
2009-11-17 13:27:00
901
原创 AXIS2实例4:wsdl2java(最简单的string)
1. wsdl文件D:/axis151/mysamples/wsdl2java/HelloService.wsdlhttp://schemas.xmlsoap.org/wsdl/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/
2009-11-10 11:31:00
1075
原创 xsd教程2
1. shiporder.xml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:noNamespaceSchemaLocation="shiporder.xsd"> John Smith Ola Nordmann Langgt 23 4000 Stavanger Norway Emp
2009-11-06 15:23:00
652
原创 xsd教程1
简单的例子:1. note.xml Tove Jani Reminder Dont forget me this weekend! 2. note.dtd 3. note.xsdtargetNamespace="http://www.w3schools.com"xmlns="http://www.w3schools.com"elementFormDefa
2009-11-06 15:12:00
410
原创 AXIS2实例3:通过wsdl生成服务和客户端代码
1. wsdl文件D:/axis151/mysamples/sample1axis2userguide.wsdl xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://apache.org/axis2/Axis2UserGuide" xmlns:intf="http://apache.org/axi
2009-11-02 12:45:00
4247
原创 AXIS2实例2:通过pojo方式
1. SERVER的代码D:/axis151/mysamples/sample3/src/SampleService.javapackage org.apache.axis2.axis2userguide;public class SampleService { public void doInOnly(){ return; } public S
2009-11-02 12:34:00
770
原创 AXIS2实例1:通过AXIOM OMElement objects方式
1. Service的java代码D:/mysamples/sample2/src/SampleService.javaimport org.apache.axiom.om.OMNamespace;public class SampleService { public OMElement sayHello(OMElement element) throws XMLStream
2009-11-02 12:24:00
1832
原创 基本信息
1. download path:http://ws.apache.org/axis2/1_5_1/installationguide.html 2. installation unzip axis2-1.5.1-bin.zip to D:/axis151 3. configurationAXIS2_HOME: D:/axis151PATH: %AXIS2_HOME%/bin
2009-11-02 12:19:00
550
原创 字符集设置
环境:win2k, tomcat5.0.28, mysql4.17, jdk1.5, eclipse3.0问题:1) 项目构架是使用 hibernate+spring+struts 的方式.2) 安装MYSQL的时候,使用默认字符集: latin1, 用户,数据库,表格,字段都是在该字符集下建立3) 在运行JSP页面时, TOMCAT报告错误: hibernate Illegal mix of c
2009-10-28 10:56:00
847
原创 hibernate在MYSQL中的使用
Hibernate 配置通过c3p0连接MYSQL** 需要的包: c3p0_versionxx.jar** hibernate.cfg.xml "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-
2009-10-28 10:52:00
2459
原创 Export Utility Part2
Example Export Session in User Mode User mode exports can be used to back up one or more database users. For example, a DBA may want to back up the tables of deleted users for a period of time. User
2009-10-28 10:50:00
891
原创 Export Utility Part1
What Is the Export Utility? An Export file is an Oracle binary-format dump file that is typically located on disk or tape. The dump files can be transferred using FTP or physically transported (in t
2009-10-28 10:46:00
570
原创 Import Utility Part2
Considerations When Importing Database Objects Importing Object Identifiers For object types, if IGNORE=y, the object type already exists, and the object identifiers, hashcodes, and type descri
2009-10-28 10:44:00
751
原创 IMPORT UTILITY PART1
imp 用户名/密码@igrp2_132.159.206.29 file=d:/carmot_xx.dmp fromuser=carmot_xx touser=carmot_xxTable Objects: Order of Import Type definitions, Table definitions, Table data, Table indexes, Integrity co
2009-10-28 10:32:00
618
原创 SQL语句PART11
1. My test: (create and grant the sysdba to a new user by SQL*Plus)CREATE USER FJTEST1 IDENTIFIED BY JEANJEANFANG;GRANT SYSDBA TO FJTEST;REVOKE SYSDBA FROM FJTEST;CONNECT FJTEST1/JEANJEANFANG AS SYSDB
2009-10-28 10:30:00
2039
原创 SQL语句PART10
oracle tips Exist的用法: select gw.ndocid from (select ndocid from wf_doc_gw_shouwen union select ndocid from wf_doc_gw_fawen) gw where not exists (select null from wf_doc_gw_sn sn where sn.nd
2009-10-28 10:28:00
313
原创 SQL语句PART9
Group functionsSELECT [column,] group_function(column) ... FROM table [WHERE condition] [GROUP BY group_by_expression] [ORDER BY column];e.g.:SELECT department_id, job_id, SUM(salary), COUNT(employee_
2009-10-28 10:25:00
329
原创 SQL语句PART8
PairWise subquery:e.g.:select * from wf_docsort where (ndocsortid,nmoduleinfoid) in (select ndocsortid, nmoduleinfoid from wf_docsort where instr(cname,文)>0)the above sql is the same function as:se
2009-10-28 10:24:00
392
原创 SQL语句PART7
Merge statementfunction benefits: 1) provides the ability to conditionally update, insert or delete data into a database table. 2) performs an update if the row exists, and an insert if it is a new ro
2009-10-28 10:22:00
408
原创 SQL语句PART6
Differring Constraints:Constraints can have the following attributes: DEFFERRABLE / NOT DEFFERRABLE, INITIALLY DEFFERRED / INITIALLY IMMEDIATE.e.g.:alter table dept2 add constraint dept2_id_pk primar
2009-10-28 10:21:00
500
原创 SQL语句PART5
Confirming granted privilegesData Dictionary View DescriptionROLE_SYS_PRIVS System privileges granted to rolesROLE_TAB_PRIVS Table privileges granted to ro
2009-10-28 10:18:00
387
原创 SQL语句PART4
GRANT Name GRANT -- 定义访问权限 Synopsis GRANT { { SELECT | INSERT | UPDATE | DELETE | RULE | REFERENCES | TRIGGER } [,...] | ALL [ PRIVILEGES ] } ON [ TABLE ] tablename [, ...] TO { usernam
2009-10-28 10:17:00
363
原创 SQL语句PART3
constraint Example:1. grammer: create table [schema.]table (column datatype [DEFAULT expr] [column_constraint], ... [table_constraint] [,......]);2. example of a column_level constraint:c
2009-10-28 10:15:00
360
原创 SQL语句PART1
Oracle SQL(partI) Data manipulation language(DML): select, insert, update, delete, merge.Data definition language(DDL): create, alter, drop, rename, truncate, commentData control language(DCL): gran
2009-10-28 10:01:00
493
原创 IMPORT EXPORT
Export database:bin/mysqldump -h localhost -u root -p databaseName >sourceFile(*.sql)Import database from a sql filebin/mysql -h localhost -u root -p databaseName
2009-10-28 09:54:00
250
原创 ORACLE和POSTGRESQL的SQL语句比较
oracle 方法 postgreSQL方法select seqName.nextval from dual select nextval(seqname)select seqName.currval from d
2009-10-28 09:49:00
699
原创 其他需要测试的实例
4.授权HandlerAuthorizationHandler.java package anni.handler;import java.util.*;import org.apache.axis.AxisFault;import org.apache.axis.MessageContext;import org.apache.axis.handlers.BasicHandler;impor
2009-10-27 11:46:00
627
原创 实例7:上传下载文件
Upload & Download File from Axis server1. server part: FileService.javapackage cn.com.mytest.server;import java.io.File;import java.io.FileOutputStream; import java.io.InputStream; import java.io
2009-10-27 11:44:00
530
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人