STRUTS2 deployment and related issues in eclipse

Source: Internet
Author: User

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


2. The location of the Eclipse Configuration service is



3. When you deploy a Web project. You also need to open the server view. Right-click New server



4, after the completion of the 3rd step. When you deploy the project. Right-click on the server created in step 3rd and select the "Add and Remove ..." option, which pops up for example the following form


On the left side, select the item you want to deploy and click AddButton to add it to the right side of the form.


5, the explanation: we deployed after the completion. Projects that are successfully deployed will not be under the WebApps folder of today's Tomcat. Where exactly is it, in fact, for example, in the following location: Right-click the server created in step 3rd. Select the "open" option


There is a location for the server in:


Our application is deployed under the "Deploy path" path. This is because Tomcat is carried out in one way or another. And MyEclipse in the way Tomcat is performed differently.


6, Debugging and implementation of the way and MyEclipse is the same, no longer have to spend the mind to crack myeclipse, hahaha ~

STRUTS2 deployment and related issues in eclipse

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.