I am under the Android official website Integration ADT Eclipse, there is nothing integrated, so I had to do it myself.
Tomcat Integration:
1. Install Tomcat, enter on the browser: http://localhost:8080/successfully jump to the Tomcat Welcome page, indicating successful installation.
2. Download Tomcat plugin: http://www.eclipsetotale.com/tomcatPlugin.html I'm tomcatpluginv321.zip. Put the unpacked folder named com.sysdeo.eclipse.tomcat_3.2.1 in Eclipse
Install the package under E:\android\eclipse\plugins. To configure the Tomcat environment in eclipse:
Re-open Eclipse, appear, click on the right kitten reboot Tomcat, the following server startup in ... Ms demonstrates integration success.
Web Development Integration:
When you create a new project, you find that there is no web option, which means that the related components of web development are not integrated.
1.http://download.eclipse.org/releases/juno provides a number of plug-ins.
Help-> Install New Software
Install the restart Eclipse.
2. If the JSP appears-String cannot is resolved to a type
-The Method Getcontextpath () of the type HttpServletRequest refers to the missing type string error.
(1) Right-click Engineering->build path->configure Build path->libraries, double-click the JRE System Library, if a red fork appears, it means that the JRE is not selected, this is the need to select the corresponding JDK. Including the JRE inside. That's OK.
(2) If the JSP page is still an error, you need to check: window->preferences->java->installed jres, select the same JDK as (1). The other Window->java->compiler JDK should also be consistent.
After you create a new Web project, deploy in Tomcat:
In Tomcat's installation package: C:\Program Files\apache Software foundation\tomcat 6.0\conf\catalina\localhost. Creates a new XML file with the file name: webex1
Edit: <context path= "/webex1" reloadable= "true" docbase= "D:\tywebex01\webex1" ></Context>
Docbase is the Web Deployment package address (project path), and path is the Web deployment package name
Precautions:
1 Deploy only one project at a time
2 Do not repeat deployment
Oracle New Connection:
The service name is as follows: All Programs-> Oracle-> Net Manage->