This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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 !
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.