How to start Tomcat in eclipse [illustration]
Source: Saidi blog Author: jasonxing3938
Usually, we start Tomcat and Its console through startup. bat in the bin folder under the tomcat installation directory, which is usually very troublesome during project development. By installing the myeclipse plug-in eclipse, you can directly start Tomcat and Its console from eclipse, saving the trouble of switching back when you start or view errors. In order to make it easier for you to use eclipse, the following are some examples:
First, make sure that the myeclipse plug-in has been successfully installed in your eclipse, start eclipese, select Window → preference, as shown in figure
In the Preference window, expand myeclipse → application server → tomcat5, select tomcat5, and in the right window, place Tomcat server in enable, and select the tomcat installation path in Tomcat home dictionary.
Next, for example, select JDK in the left directory tree and click Add in to configure the JDK installation path.
Configure the JDK installation path. In the JRE name, enter any name and click "Browse" to select the JDK installation directory. After that, confirm.
After completing the above steps, we have completed the configuration. When using eclipse in the future, you can easily start the Tomcat server and start the console by selecting the icon in the red area as shown in.
Look, you don't have to switch back and forth, Tomcat can be started, and the console is displayed directly in eclipse. You don't have to switch to the Black and flickering DOS window when you view the error information in the future! How is it? Convenience, because the bird is using rising virus scanning when starting tomcat, the startup time is as high as 17047 MS, depressing ing
ZZ: http://blog.csdn.net/zgqjymx/archive/2008/05/08/2414637.aspx