`
文章列表

jOne入门

    博客分类:
  • jOne
只需在lib中添加jone.jar web.xml配置核心Filter <filter> <filter-name>Router</filter-name> <filter-class>rzy.action.Router</filter-class> </filter> <filter-mapping> <filter-name>Router</filter-name> <url-pattern>/*</url-pattern&g ...

jOne简介

    博客分类:
  • jOne
jOne是一个简单、极速、零配置的Web开发框架。 1.零配置,全系统只有一个Filter  Action是一个普通的pojo,与servlet解耦,无侵入 REST风格的访问方式  2.WEB和Service分布式部署,基于netty框架的RPC  Service是一个普通的pojo  3.事务采用AOP实现无侵入设计。日志的记录采用AOP,异步阻塞队列实现。  我们的宗旨意在开发一个公共通用的权限管理、日志管理、异常管理、事务管理、任务管理等模块,易于集成的开发平台.让我们的开发人员不再为琐碎的权限菜单、日志、异常、事务、任务而“费劲“,开发者只需关注业务的实现。
aa

box.js

jQuery.fn.center = function(scope){ this.css("position","absolute"); this.css("top", ($(window).height() - this.outerHeight())/2 + $(window).scrollTop() + "px"); this.css("left", ($(window).width() - this.outerWidth())/2 + $(window).sc ...

IE6 autocomplete

aaa

Callable Future

package advancedJava; import java.util.Random; import java.util.concurrent.*; /** * callable和future是试验类 * * @author: cuiH * Date: 13-11-27 * 执行一个线程,取得线程返回的结果 * callable 返回一个结果,future取到返回的结果。 */ public class CallableAndFuture { public static void main(String[] args) throws ...

RequestContext

package util; import java.io.IOException; import java.io.UnsupportedEncodingException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSe ...

杂七杂八

asdas

XUtil

package util; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Enumeration; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; import javax.servlet.ServletContext; import org.apache. ...

ActionFilter

package util; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.util.regex.Pattern; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletContext; import javax.servlet.Servl ...
package util; import java.util.HashMap; import java.util.Map; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost; import org.apache.http.entit ...

权限脚本

 
aa DROP TABLE IF EXISTS seq; CREATE TABLE seq ( currid int(11) NOT NULL, tname varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS users; CREATE TABLE users ( id int(11) NOT NULL, username varchar(100) NOT NULL, pwd varchar(200) NOT NULL, state char(1) ...

win animate

$(function () { var win= $(window); var w = 500; var h = 300; var left1 = ($(win).width())/2; var top1 = ($(win).height())/2; var left2 = ($(win).width() - w)/2; var top2 = ($(win).height() - h)/2; var dd = $("<div id='fly'>Click Me</div>") .appendTo($('body ...

最新ARI

package util; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.util.regex.Pattern; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletContext; import javax.servlet.Servl ...

grid

(function($){ $.fn.Grid = function(method) { if (typeof method == 'string') { return arguments.callee.methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); } else if (typeof method === 'object' || !method) { return arguments.callee.methods.init ...
Global site tag (gtag.js) - Google Analytics