MyEclipse 6.0.1中自带了tomcat6,其在com.genuitec.eclipse.easie.tomcat.myeclipse目录里,要想直接用这个自带的Tomcat,只需稍作配置就可以了,打开
D:\MyEclipse 6.0.1\myeclipse\eclipse\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_6.0.1.zmyeclipse601200710\tomcat\tomcat-base.zip\server.xml,修改server.xml,在前加上D:\MyProject\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\tomcat\conf\server.xml就可以了!
debug="5" reloadable="true" crossContext="true">
maxActive="100" maxIdle="30" maxWait="10000"
username="sa" password="mirror" driverClassName="net.sourceforge.jtds.jdbc.Driver"
url="jdbc:jtds:sqlserver://localhost:1433;DatabaseName=baseName"/>
,这样就配置好了;然后在eclipse窗口首选项中找到myeclipse>servers>Integrated sandbox>myeclipse tomcat6并展开"+",选择JDK为事先装好的JDK,不能是Myeclipse自带的!OK!启动Tomcat吧!
以后要是部署其他项目,直接修改: