启动项目总是要在myeclipse中用tomcat启动,能不用myeclipse直接用tomcat或者别的服务器启动项目吗?
阿神2017-04-18 10:17:58
Yes, just open it directly and enter the default port 8080 in the browser
PHP中文网2017-04-18 10:17:58
myeclipse can only integrate tomcat. Brother, the priorities are reversed.
PHP中文网2017-04-18 10:17:58
Of course, myeclipse is just an integrated tool for ease of use and is not necessary.
ringa_lee2017-04-18 10:17:58
This question. .
myeclipse is an IDE, which makes writing code more convenient, and there are many others similar to it; Tomcat is an application server, and a Servlet/JSP running environment exists, and there are many similar ones.
myeclipse is a tool used during development. Download Tomcat and decompress it. There are also sample projects in it. , try running it directly
ringa_lee2017-04-18 10:17:58
So if you just use IDE blindly, you will have such problems. Sometimes when you study, you have to use the original way to know what the project is going on
怪我咯2017-04-18 10:17:58
Sure. Tomcat on the server does not have myeclipse. . You just integrated TOMCAT into the IDE. Run the start.bat or .sh script in the bin package in the tomcat directory to start. Package your project into a jar or war package. Put it in the WEBAPP directory and run tomacat