自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(122)
  • 收藏
  • 关注

转载 nginx日志进行统计分析 log分析

列出php页面请求时间超过3秒的页面,并统计其出现的次数,显示前100条。查看访问最频的页面([排除php页面】(TOP100)统计每分钟的请求数,top100的时间点(精确到分钟)统计每小时的请求数,top100的时间点(精确到小时)统计每秒的请求数,top100的时间点(精确到秒)列出传输时间超过 3 秒的页面,显示前20条。查看某一时间段的IP访问量(4-5点)查看访问最频的页面(TOP100)查看页面访问次数超过100次的页面。查看访问最频繁的前100个IP。查看访问100次以上的IP。

2023-09-18 15:21:03 372

原创 一个阿里云资源库,宝藏

一个阿里云资源库,宝藏

2022-08-25 20:19:28 2508 1

转载 运行例子以后,能很好的理解spring的反射机制

此例子我已经运行过,运行再去看网上的那些关于java的反射机制,很更好的理解反射的作用. 以下部分为转载,很实用: 【转】java的反射和代理实现IOC模式 模拟spring 2007-12-24 14:42 IOC(Inverse of Control)可翻译为“控制反转”,但大多数人都习惯将它称为“依赖注入”。在Spring中,通过IOC可以将实现类、参数信息等配置在其

2013-02-26 12:10:42 6564 1

转载 Best option for Session management in Java

Best way managing session in Java. I heard that cookies are not reliable option for this as they gets stored into browser and can be accessed later on? Is this correct? If possible please come up with

2013-02-24 16:24:47 668

转载 How do servlets work? Instantiation, session variables and multithreading

Suppose, I have a webserver which holds numerous servlets. For information passing among those servlets I am getting the servlet context and setting session variables. Now, if 2 or more users send req

2013-02-24 15:51:11 479

原创 在ORACLE 10g里遇到“无效的月份”错误

需要执行alter session set nls_language=american;alter session set nls_date_format='DD-MON-YY'; 注意在SQL PLUS DEVELOPER里加上后运行BUILD script后还是存在这个错误,需要把这两句代码写进脚本里执行。 可能在中文环境里会遇到这个问题

2013-02-24 15:33:40 459

原创 分享在rad 6中JSP 找不到某个JAR

在RAD6中jsp找不到某个jar,但通过java程序调用可以,最后解决把那个jar解压,然后把这个目录加到CONSOLE/shirelibraty 中就可以解决,真是奇怪,因为只有其中一个JAR有问题,而且只在JSP中调用才出问题。

2012-09-20 13:05:30 603

原创 dynamic project 引用到别的项目的时,需要在CONSOLE/environment中设置sharedLibrary

现象;dynamic project UI 引用到了java project CommandControllerSrv .在dynamic project 的SERVLET 运行时找不到CommandControllerSrv中的CLASS 需要设置CONSOLE 中的SHARE LIB, 把CommandControllerSrv的class 目录加进去才行。 为什么呢?

2012-09-06 18:17:12 668

原创 分享一个CLASSPATH的问题导致SERVLET出错却没有任何log

在websphere的console http://localhost:9062/ibm/console/login.do 中environment\Shared Libraries 中的一个ClassPath"C:\SLEWorkspace\lib\httpservice\ Httpclient\httpcore-4.2-alpha2.jar" 中不小心多了一个空格,结果导致运行这个 ser

2012-08-29 10:21:49 703

原创 多个Filter 的执行顺序

如果在WEB.XML中有多个Filter,则执行顺序为filter-mapping>的顺序 filter-mapping>filter-name>secondFilterfilter-name>url-pattern>/*url-pattern>filter-mapping>filter-mapping>filter-name>sysoutFilterfil

2012-07-13 17:18:28 5263

原创 Configuring the Java Virtual Manager (JVM)

WindowsTo set Java heap size options with Sun Java (JAVA_OPTS environment variable) on WindowsOn the taskabar, click Start, and then point toSettings, Control Panel, and System.In the

2012-07-13 17:09:39 523

原创 String 中的转义字符‘\r\n’在用EMAIL发出来后发现在OUTLOOK中没起作用

content.append("Error occurs when allocate this SHTT messages - ").append("\r\n").append("Error Message -").append("\r\n"); 发现在email中的内容中没有换行。google 了一下,国外的朋友说要在每行最后加个"."就可以了,所以改成content.append(

2012-06-14 10:52:50 5407

转载 Flex Component Life Cycle

The lifecycle of component in flex is certainly somewhat similar to the old V2 framework where you create a component holder, craetechildren, set-sizes and dispatch events. Following four methods pl

2012-05-21 18:02:27 1001

转载 Autosys - A Job Scheduling tool

Autosys UNICENTRE is a job scheduling tool.The following article provides a brief information about the commands essential for job scheduling.Autosys Job Management for UNIX This guide will be

2012-05-04 17:26:21 3368

转载 Learn Autosys - A Job Scheduling Tool

Custom Search AutoSys - A Job Scheduling ToolAutoSys on UnixCd to the "autouser" ($AUTOUSER) directory and "." (or source) the "ksh" file. Ex: ". ./

2012-05-04 17:22:47 1306

原创 关于FLASH player DEBUGGER LOGGER 输出的一个问题

flash player debugger11.2在C:\Documents and Settings\a501279\Application Data\Macromedia\Flash Player\Logs 下的flashlog.txt 无法输出GOOLE了一下,国外朋友的发现如下:解决方法:把mm.cfg放在%HOMEDRIVE%%HOMEPATH%下, echo %HOME

2012-04-26 18:15:18 1927

原创 websphere 中datasource 的配置

1. JDBC ProvidersClass path ${ORACLE_JDBC_DRIVER_PATH}/ojdbc14.jarImplementation class name :oracle.jdbc.pool.OracleConnectionPoolDataSource2. 在Envirmeonment中websphere Variab

2012-03-16 20:13:45 1825

转载 MQ setup in websphere

1        Run ActiveMQ Server1.1      Download ActiveMQ 5.4.3 and Extracthttp://www.apache.org/dyn/closer.cgi?path=%2Factivemq%2Fapache-activemq%2F5.4.3%2Fapache-activemq-5.4.3-bin.zip1.2      Ru

2012-03-16 20:03:09 654

转载 几个画流程图的网站

3个在线画流程图/线框图的网站Posted on2011/08/15byiworm手头没有Visio,想画几张简单的流程图该怎么办呢?这几个网站可以帮到你,都提供免费和收费版本。1. Cacoo,基于Flash的画图网站,图上可输入中文。提供基本流程图,线框图,UML等。免费用户只能保存25张图,只能导出PNG格式,收费用户不限制图数,能导出SVG、PS、PNG、PDF。查

2012-01-31 14:12:17 39601 4

转载 怎么设置个人电脑做服务器(tomcat)

首先在进入路由器设置,运行状态,查看本机外网IP转发规则->虚拟服务器设置服务端口:8080IP地址:比如192.168.1.102协议:TCP启用,然后提交。重起路由器,可以通过软件重起,系统工具->重启路由器有问题给我留言吧,时间紧。

2011-12-20 18:13:31 2836

转载 Tomcat 发布部署jsp网站—-使用自己的ip访问jsp网站

最近我们做了个李宁的jsp项目,做完之后想在我们局域网的电脑上访问,并且通过这台机器的ip地址访问,通过多次配置,终于成功,以下是配置的过程。 一,首先将工程打包,打成war包,点击右键,选择export         因为打包成war包之后,eclipse会将你的工程所需的所有文件,打包为war文件,如果你自己去拷贝的话,可能包含很多无用的东西,也可能丢失重要的文件。将LiNi

2011-12-20 18:12:59 1417

原创 关于在PACKAGE里看LOG

create or replace PACKAGE BODY TEST_PKG AS  PROCEDURE LOG_TEST(P_JOB_NAME  IN  VARCHAR2) IS  BEGIN   DBMS_OUTPUT.ENABLE(100000);   D

2011-09-01 16:21:13 461

原创 some security finance term

1. Securities lending  -- In finance, securities lending or stock lending refers to the lending of securities by one party to another. The t

2011-07-08 16:18:44 372

转载 What’s a pre-borrow?

Alistair Barr reports that the SEC is “cautious about imposing a broad pre-borrow requirement as a way of limiting manipulative short sellin

2011-07-08 16:17:15 507

原创 关于QUARTZ JOB 中cluster的用法

在quartz job 中如果把cluster = true,则schedule一个job,则运行的instance有可能不是本地的INSTANCE, 而是CLUSTER中另一个服务器端的instance

2011-07-05 18:32:45 1436

原创 关于在RAD中NoClassDefFoundError

如果出现在RAD中起了SERVER 然后发现NoClassDefFoundError ,有可能需要把JAR 包放在WebContent/lib 下,如果还不行要查一下CLASSPATH

2011-07-05 18:27:39 369

转载 Some common problems in RAD and their solutions/work arounds

Some common problems in RAD and their solutions/work arounds<br /><br />Bug in RAD Debugger!<br /><br />If the value of a variable is enclosed in angle braces, the RAD debugger displays an empty string when we move the mouse over the variable. <br

2011-05-10 18:51:00 532

转载 Spring MVC - DispatcherServlet Example

Spring MVC - DispatcherServlet ExampleAuthor : AbhilashEtikala<br />Date : Sat Jan 22nd, 2011<br />Topic : spring<br />Spring MVC - DispatcherServlet ExampleDispatcherServlet Configuration<br />DispatcherServlet : In Spring's web MVC framework the

2011-02-11 19:44:00 2145

原创 eclipse 下遇到的一些问题

<br />1。如果改了系统时间提早的话,JAVA代码修改了却没有重新编译成class文件

2011-01-05 14:28:00 386

原创 flex 中 的 arraycollection 传到后台List 发现里面的不是LONG

<br />GecBorrowAllocationVO 中的 borrowIds 为Number 的ArrayCollection,传到后台发现虽然<br />gecBorrowAllocation 中<br /> <br />private List<Long> borrowIds;<br /> <br />但里面的元素是Integer,<br /> <br />List bIds = allo.getBorrowIds();<br />Long bId = ((Integer)bIds.get(0)).

2010-12-08 18:15:00 642

原创 在model 中定义get / set 方法时变量名的第二位不能是大写

<br />    在 gecBorrow.java中定义一个<br />    //for reverse allocation of manually entered qty<br />    private String rAllocKey;<br /><br /><br />    public String getRAllocKey() {<br />        return rAllocKey;<br />    }<br />    public void setR

2010-12-08 18:08:00 1257

原创 发现在DataProvider 中虽然banding了model,但如果这个MODEL为null,则在DataProvider 中增加item,MODEL还是NULL

<br />    <common:CustomRowBackgroundColorAdvancedDataGrid id="batchBorrowDataGrid" width="100%" height="100%"<br />        verticalScrollPolicy="auto" horizontalScrollPolicy="auto"<br />        dataProvider="{borrowModel.batchBorrows}" draggableColu

2010-11-15 19:31:00 547

原创 关于binding的一个问题

<br /><?xml version="1.0"?><br /><!-- events/SimpleEventHandler.mxml --><br /><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" ><br />    <mx:Script><![CDATA[<br />        import mx.controls.Alert;<br />    [Bindable]<br />    public v

2010-11-05 11:46:00 657

原创 关于FLEX 里控件宽度的一个问题

<br /><mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"<br />    xmlns:aggregatedDemond="com.sft.gec.view.trade.aggregatedDemond.*"><br /><br />    <mx:HBox><br />        <aggregatedDemond:BorrowsOverviewMcmp id="borrowsPane"/><br />        <aggre

2010-11-02 19:51:00 1255

原创 pwMatrix

<br />Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceHelper' defined in class path resource [testDBApplicationContext.xml]: Invocation of init method failed; nested exception is

2010-10-18 20:04:00 1832

原创 Annotations in Tiger, Part 2: Custom annotations

<br />In the first article in this series, I explained what metadata is, why it's valuable, and how to use the basic built-in annotations introduced in J2SE 5.0 (aka Tiger). If you're comfortable with these concepts now, you might already be thinki

2010-10-18 12:48:00 433

原创 Annotations in Tiger, Part 1: Add metadata to Java code

<br />One of the latest trends in programming, particularly in Java programming, is the use of metadata. Metadata, simply put, is data about data. Metadata can be used to create documentation, to track down dependencies in code, and even to perfo

2010-10-18 12:44:00 912 1

转载 Unit tests with JUnit

<br />By David Neary.<br /> Contents:<br />Why write tests? To test code To document interfaces To locate bugs To fix bugs JUnit How to use it Starting a class Full speed ahead Testing edge cases Conclusion <br />Unit tests with JUnit <

2010-10-14 19:54:00 844

转载 Eclipse中使用Junit插件测试

<br /> 测试对于保证软件开发质量有着非常重要的作用,单元测试更是必不可少,JUnit是一个非常强大的单元测试包,可以对一个/多个类的单个/多个方法测试,还可以将不同的TestCase组合成TestSuit,使测试任务自动化。Eclipse同样集成了JUnit,可以非常方便地编写TestCase。 <br />  我们创建一个Java工程,添加一个example.Hello类,首先我们给Hello类添加一个abs()方法,作用是返回绝对值:<br /><br />  下一步,我们准备对这个方法进行测

2010-10-14 19:52:00 594

原创 存储过程的一个例子

<br /> <br />spool gec13_merge_security_master.log;<br /><br />prompt create temp table<br />select to_char(sysdate, 'HH24:MI:SS') as begin_time from dual;<br />CREATE table GECDBA.GEC_ASSET_TEMP<br />(<br />  ASSET_ID NUMBER(38, 0),<br />  CUS

2010-10-08 20:15:00 318

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除