STRUTS2 deployment and related issues in eclipse

Source: Internet
Author: User

1. When developing Web projects in Eclipse, it is very different when deployed and deployed with MyEclipse because there is a deploy button in the MyEclipse toolbar. And in MyEclipse's preference there is a configuration portal for the server such as Tomcat, and when the Deploy button is clicked, it is deployed directly to the configured server at the specified location (for example, Tomcat is deployed directly to the WebApps directory).


2. The location of the Eclipse Configuration service is



3. When you deploy a Web project, you also need to open the server view and right-click New server



4. After the 3rd step is completed, when you deploy the project, right-click on the server created in step 3rd and select the "Add and Remove ..." option to pop up the following window


Click the Add button to add to the right window after selecting the item you want to deploy on the left.


5, Explanation: After our deployment, the successful deployment of the project will not appear in the Tomcat WebApps directory, exactly where, in fact, in the following location: Right-click the server created in 3rd step, select the "open" option


There is a location for the server in:


Our application is deployed under the "Deploy Path" path, which is due to the fact that Tomcat is running in a different way, unlike Tomcat in MyEclipse.


6, Debugging and operation mode and MyEclipse is the same, no longer have to spend the mind to crack myeclipse, ha haha ~

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

STRUTS2 deployment and related issues in eclipse

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.