• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How do i construct my struts2 application in eclipse to generate a war file of the project ?

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I create a strut2 application in Eclipse Galileo ,with Tomcat6.0 ,using the File--New-- DynamicWebProject .
I deploy it to the server ,by rightclicking on the project RunAs--RunOnServer , I can get my output very well ,But the thing is i cannot find where the war file is generated , or else is it generated or not ?

How do i construct my struts2 application in eclipse to generate a war file of the project ??


Thanks


 
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Right click on the project->Export->WAR.

But you should consider using Maven, Ant, or Gradle whenever possible rather than relying on your IDE to build the WAR/JAR/EAR file.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to IDEs; nothing to do with Struts.
reply
    Bookmark Topic Watch Topic
  • New Topic