iOS Development Network-building a local server

Source: Internet
Author: User

iOS Development Network-building a local server

A simple explanation

description : Download the relevant software in advance, and the installation directory is best installed in the full English path. If the path has a Chinese name, there may be some inexplicable problems.

tip : Pre-prepared software

Apache-tomcat-6.0.41.tar

Eclipse-jee-kepler-sr2-macosx-cocoa-x86_64.tar.gz

Jdk-8u5-macosx-x64.dmg

Second, install and configure the local server environment (Java) steps:

(1) Under Document PATH, create a new folder (Netword), unzip the Eclipse archive package file

(2) Install the JDK first

(3) Click Install Eclipse, set workspace, click OK.

Set up your work space

(4) Copy the pre-written server code to the working space.

(5) Import the project and import the existing project into the workspace.

(6) After importing the project, the project error and garbled format, the following adjustments.

(7) Configuration container, Apache-tomcat.

Click OK. To create a new container

Select the path of the container

The installation is displayed as follows:

(8) Start the server. Start in debug mode, easy to do some debugging

Test: The server has successfully started.

(9) Deployment Program

(10) Enter the address of the server in Firefox and access the project

This completes the local server environment.

Accessing the server's resources

The local server can also be accessed using a browser on the emulator. Enter Address 192.168.1.53:8080/mjserver

Add : Browser open page, text garbled adjustment.

iOS Development Network-building a local server

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.