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