How to create an war file in Eclipse without ant or maven?

后端 未结 1 1247
傲寒
傲寒 2020-12-16 13:44

I am using Eclipse IDE for Java Developers Helios. I have mainly done desktop applications before but now I would like to learn about Servlets. I have installed Jet

相关标签:
1条回答
  • 2020-12-16 13:57

    Edit: As @nos has inferred, the OP was using "Eclipse IDE for Java Developers" and not "Eclipse IDE for Java EE Developers". The below is only relevant for the latter.

    Assuming you created this as a Dynamic Web project in Eclipse, just

    right-click on the

    project name, > Export > WAR file
    

    and fill in the details it asks for.

    If you didnt create this as Dynamic Web Project, you can convert your static web project into one first

    0 讨论(0)
提交回复
热议问题