An auto deployment eclipse web project. (By tomcat)

At past , I always use MyEclipse to create and deploy web project.

Today I try to create a new web project by tomcat without MyEclipse . I found it can auto-deploy too.

The steps are:

1, Create a web project 

file->new->project->dynamic web project,next -next-->

2, Configure tomat in eclipse.

Make sure you have installed tomcat .

windows->preference->server->Installed Runtimes .   Then import your tomcat .

windows->preference->server->Launching .  Click "Automatically published".

3,Right click  your new project , choose "Run as -> Run on server" . next -next-->

Use "http://localhost:8080/%3Cproject%20name%3E/" to visit from browser.

转载于:https://www.cnblogs.com/kungfupanda/archive/2009/07/02/1515769.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值