Eclipse integrated Tomcat with Web project development, Oracle New connection. ___ Storage

Source: Internet
Author: User

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

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.