• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

How to configure Struts 2 in eclipse

 
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i wanted to know how should i configure struts 2 in eclipse. i have not understood one thing about eclipse. Is it really necessary to add external jars in every project cant i add the Struts 2 jar file once so that whenever i want my project to have struts 2 capability i can simple include the jars instead of adding the jars for every project. cant i configure my eclipse 3.5 just like myeclipse 8.0 that provides struts 2 capabilities. in order to create a struts 2 project in Myeclipse all you need to do is

1. create a web project
2. right click on the web-project
3. go to MyEclipse
4. select "Add struts capability" and do the configuration for Struts 2.

cant i configure myeclipse to act in a similar way.

I have downloaded the Struts 2.1.8 and there are so many jar files in the lib folder do i have to add all the jars in every Struts 2 project that i create. cant i add the jars just once for god sake !

Troubled
 
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
You should only add the jars you actually need--not all of them.

And yes, if you're not using an IDE that will do it automatically, you need to do it manually, by definition. This is why people use things like Maven or Ant. Or just have a directory of the typical jars you need and import them into your lib directory--neither difficult nor particularly time-consuming.
 
reply
    Bookmark Topic Watch Topic
  • New Topic