Read the video and read the blog at the top of the text. To the client explained is very good, but the service side of the building to explain the relatively simple. This step, stuck himself for a long time.
Software to use: apache-tomcat-7.0.61.tar.gz, com.sysdeo.eclipse.tomcat_3.3.1.jar,eclipse-jee-luna-sr2-macosx-cocoa-x86_ 64.tar.gz
1.com.sysdeo.eclipse.tomcat_3.3.1.jar is a plugin that copies the Eclipse/plugins directory.
2. Open eclipse again, preferences, Tomcat, choose Tomcat version7.x (just installed plug-in only support to 7.x), select Tomcathome is our Tomcat decompression path.
So you can follow the Dark Horse video, or the top of the blog down to do. Black Horse Video does not have the server code, oneself downloaded from the internet A seemingly Java project code. Let a friend change a bit after the code Http://pan.baidu.com/s/1bn6OVKF.
When the project is imported, an error is introduced. The workaround is to import the Apache-tomcat-7.0.61/lib/servlet-api.jar package.
So you can run it.
Trifles, sometimes you can't, just skip.
Black Horse Course in iOS Network programming server building and source code