Kaixin.com Open Platform _ Java copyright SDK (including JSP) _ [Contribution of lightning network]

Source: Internet
Author: User

 

[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/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.