[This package is a Java version of kaixinnet (www.kaixin001.com) Open Platform One-Stop login Development Kit (GBK version), provided by the lightning network technical team .]
It is for study and research purposes only. Other consequences are irrelevant to the technical team! For reference only!
Package Description: The src directory is the Java source code, and the webroot directory is the Web application directory.
Instructions for use:
1. Create a web project using eclipse or myeclipse, and specify GBK as the code.
2. Copy the source files under SRC to the SRC of the project, and copy all files under webroot to the webroot of the project.
3. Compile and deploy the application to Tomcat (the deployment method is omitted). Assume that the application is called diantuan.
4. Enter http: // localhost: 8080/diantuan/Kaixin/call. jsp in the local browser.
Note:
1, please first in Kaixin Network (www.kaixin001.com) to apply for a new application, the specific address: http://www.kaixin001.com/app/app.php
After the application is completed, write the obtained key and secret to the specified variable com. snda. apipool. oauth. oauthclient.
2. program return address and related configuration: Modify the address in kx4j. kxsdk
Public static string consumer_key = ""; // The key applied for by the website
Public static string consumer_secret = ""; // secret applied for by the website
Return address: Modify
String AA = URL + "Kaixin/callback. jsp"; // The URL is your website address.
For example:
String AA = "http://www.shandiant.com/kaixin/callback.jsp ";
3. A program encoding conversion tool can be attached to any encoded project file.
Changefileencode. Java
Usage: Change srcpath to the source file directory, and despath to the output file directory. Copy the folder to be converted to srcpath and run the command.
[Effect web site]: http://www.shandiant.com/front/login.jsp
If you have any questions, please let me know.
4. Resource download path: http://seaforce.download.csdn.net/