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.

相关文章:

  • 2021-07-13
  • 2021-04-14
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
  • 2022-02-12
  • 2021-09-30
  • 2022-01-23
猜你喜欢
  • 2021-05-16
  • 2022-12-23
  • 2022-01-19
  • 2021-08-05
  • 2021-06-30
  • 2022-12-23
相关资源
相似解决方案