Skip to content

zhonghuafy/JavaTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaTool
Joshua Wong 2013-10-26

Here's some tools under Java program I'm using at my work or my own project. Hope can help others.
It's open source so anyone can use or change or redistribute.
You can connect author at [email protected]

####### The Json part based on JSON-java, and Gson. You should download it and put into /json/core. And thanks to their work!

/action/BasicAction.java Basic action class extends com.opensymphony.xwork2.ActionSupport. Can write a json to client side, get client side's IP address, kick sombody out of the session and a simple example of export excel.
/door/Boot.java an example which extends implements ServletContextListener for loading and read properties from property file.
/door/SessionFilter.java implements javax.servlet.Filter filter users who had not loged in.
/door/SessionListener.java implements javax.servlet.http.HttpSessionListener create or destroy session.
/json/tools/JsonTool.java a json tool based com.google.gson.Gson.
/json/tools/JsonUtil.java a json tool based JSON-java.
/tools/BOConverter.java convert an object to a byte array or revert.
/tools/GridIndex.java extjs grid paging tool.
/tools/replace html symbol to codes.
/tools/LabelValue.java label value pair.
/tools/Property.java a class to handle properties config files.
/tools/ReadProperty.java a class to read properties in config file.
/tools/Record.java an encapsulation of an integer and a list for read records from data table.
/tools/StackTrace.java print exception information to console or logfile.
/tools/TreeNode.java used to generate trees.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages